{"version":3,"sources":["webpack:///./src/utilities/Date/parse.js","webpack:///./src/components/inputs/DatePicker/index.vue?acb0","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/index.vue?764f","webpack:///./src/services/Roster/Unit/getUnit.js","webpack:///./src/components/inputs/DatePicker/index.vue?f395","webpack:///./src/pages/Management/units/tabs/Lease/Information.vue?45b0","webpack:///./src/pages/Management/units/tabs/Lease/components/DocumentModal/index.vue?795c","webpack:///./src/services/LeaseDocument/LeaseDocument/StoreDocumentFile.js","webpack:///./src/utilities/response/parseErrors.js","webpack:///./src/services/LeaseDocument/LeaseDocument/Post.js","webpack:///./src/services/LeaseDocument/LeaseDocument/Delete.js","webpack:///./src/services/LeaseDocument/LeaseDocument/sequences/StoreMultiple.js","webpack:///./src/services/LeaseDocument/LeaseDocument/store.js","webpack:///./src/pages/Management/units/tabs/Lease/components/DocumentModal/keys/methods.js","webpack:///src/pages/Management/units/tabs/Lease/components/DocumentModal/index.vue","webpack:///./src/pages/Management/units/tabs/Lease/components/DocumentModal/index.vue?5fbf","webpack:///./src/pages/Management/units/tabs/Lease/components/DocumentModal/index.vue","webpack:///./src/pages/Management/units/tabs/Lease/keys/data.js","webpack:///./src/pages/Management/units/tabs/Lease/components/Actions.vue?fea5","webpack:///src/pages/Management/units/tabs/Lease/components/Actions.vue","webpack:///./src/pages/Management/units/tabs/Lease/components/Actions.vue?3a45","webpack:///./src/pages/Management/units/tabs/Lease/components/Actions.vue","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/index.vue?3683","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/components/DetailsActions.vue?bfd3","webpack:///src/pages/Management/units/tabs/Lease/components/Details/components/DetailsActions.vue","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/components/DetailsActions.vue?cfa1","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/components/DetailsActions.vue","webpack:///./src/services/LeaseDocument/LeaseDocument/List.js","webpack:///./src/services/LeaseDocument/LeaseDocument/GetDocumentFile.js","webpack:///./src/services/LeaseDocument/LeaseDocument/Get.js","webpack:///./src/services/LeaseDocument/LeaseDocument/sequences/GetMultiple.js","webpack:///./src/utilities/download/index.js","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/keys/methods.js","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/keys/mounted.js","webpack:///src/pages/Management/units/tabs/Lease/components/Details/index.vue","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/index.vue?4e61","webpack:///./src/pages/Management/units/tabs/Lease/components/Details/index.vue?410b","webpack:///./src/pages/Management/units/tabs/Lease/keys/methods/list/updateRows.js","webpack:///./src/pages/Management/units/tabs/Lease/keys/methods/list/showFormValidationErrors.js","webpack:///./src/pages/Management/units/tabs/Lease/keys/methods/index.js","webpack:///./src/pages/Management/units/tabs/Lease/keys/mounted.js","webpack:///./src/pages/Management/units/tabs/Lease/keys/watch.js","webpack:///src/pages/Management/units/tabs/Lease/Information.vue","webpack:///./src/pages/Management/units/tabs/Lease/Information.vue?6004","webpack:///./src/pages/Management/units/tabs/Lease/Information.vue","webpack:///./node_modules/vue-dragscroll/dist/vue-dragscroll.min.js","webpack:///./src/components/Modals/PDF/index.vue?ff60","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/pages/Management/units/tabs/PriorOwners/Main.vue?349b","webpack:///./src/services/Roster/Owner/getList.js","webpack:///src/pages/Management/units/tabs/PriorOwners/Main.vue","webpack:///./src/pages/Management/units/tabs/PriorOwners/Main.vue?a093","webpack:///./src/pages/Management/units/tabs/PriorOwners/Main.vue","webpack:///./src/pages/Management/units/tabs/PriorOwners/Main.vue?c6af","webpack:///./src/components/Modals/PDF/index.vue?cb06","webpack:///./src/components/Modals/PDF/keys/methods.js","webpack:///src/components/Modals/PDF/index.vue","webpack:///./src/components/Modals/PDF/index.vue?ed7b","webpack:///./src/components/Modals/PDF/index.vue","webpack:///./src/components/Fields/PDFUploader/index.vue?ac4f","webpack:///src/components/Fields/PDFUploader/index.vue","webpack:///./src/components/Fields/PDFUploader/index.vue?3ab9","webpack:///./src/components/Fields/PDFUploader/index.vue","webpack:///./src/components/Fields/PDFUploader/index.vue?a909"],"names":["parseDate","date","format","console","debug","parsed","moment","isValid","exception","message","error","getUnit","unitID","kms","kms_","result","get","params","unit","render","_vm","this","_h","$createElement","_c","_self","attrs","$t","staticClass","style","marginBottom","on","$event","openAddLeaseModal","_v","model","value","callback","$$v","activeTab","expression","activeTable","columns","rows","region","filters","perPage","terminatedTable","showLeaseModal","ref","scopedSlots","_u","key","fn","handleSubmit","action","formData","LeaseTenantID","preventDefault","onFormSubmit","visibility","position","$set","styles","formErrors","startDate","clearStartDate","clear","endDate","clearEndDate","clearTerminationDate","staticStyle","float","loading","_e","updateLease","selectedLease","selectedID","errors","_s","showTenantModal","addLeaseTenant","Notes","LeaseTenantName","LeaseTenantEmail","LeaseTenantPhone","updateLeaseTenant","leaseID","documentsUpdated","staticRenderFns","show","display","justifyContent","paddingBottom","upload","storeLeaseDocument","document","FormData","append","log","post","headers","successful","errorMessage","_get","length","parseErrors","data","keys","Object","push","x","join","addLeaseDocument","json","leaseDocumentID","post2","resp","status","deleteLeaseDocument","delete","StoreMultiple","a","documents","Promise","all","map","doc","resolve","description","name","notifyProblem","deletionSuccessful","deletionMessage","existingLeaseDocumentID","storeSuccessful","storeMessage","results","problems","uploads","actions","storeMultiple","commit","deleteOne","Vue","use","Vuex","leaseDocumentStore","Store","state","mutations","documentDeleted","documentsStored","updateDocuments","list","getters","messages","1","methods","open","id","Array","isArray","dispatch","onUpload","props","Function","components","Modal","PDFUploader","component","DEFAULT_FORM_VALUES","terminationDate","notes","leaseTenantID","leaseTenantName","leaseTenantPhone","leaseTenantEmail","DEFAULT_FORM_ERRORS","formComplete","isDebug","confirmModal","formatDateFn","formatFn","formatNumberFn","selectedRow","leaseList","terminatedLeaseList","selectedLeaseID","selectedLeaseTenant","formShow","showWeekNumber","showDetailIcon","selectedParentClass","normalParentClass","showDocumentModal","expandableRows","field","label","aria","width","numeric","sortable","searchable","datePickerContainer","alignItems","datePicker","margin","marginRight","whiteSpace","loadUpdateLease","confirmDeleteLease","Number","loadLeaseTenant","openDocumentModal","detailsLocation","leaseId","padding","addTenant","addDocuments","flexWrap","_l","index","height","background","borderRadius","boxShadow","overflow","base64pdf","pageCount","page","refInFor","opacity","transition","content","top","left","confirmEraseDocument","openPDFModal","documentId","right","downloadDocument","color","loadUpdateLeaseTenant","item","confirmDeleteLeaseTenant","String","listLeaseDocuments","getLeaseDocument","getLeaseDocumentData","getMultiple","paramsList","resultData","getSuccessful","dataMessage","retrievals","docs","download","createElement","href","click","$buefy","dialog","confirm","title","confirmText","type","hasIcon","onConfirm","eraseDocument","refresh","updateRows","leaseTenants","entry","phone","email","DetailsActions","_id","_item","_name","getDocuments","JSON","stringify","autoMimeType","asBase64","count","setTimeout","$refs","pdfModal","src","setTitle","pdfTitle","mounted","unsubscribeLeaseDocumentStore","subscribe","mutation","mType","ModernTable","PDFModal","PDF","default","watch","table","dateFormat","lease","_expandable","expanded","Details","openTenantModal","modifiedDate","Actions","updateSelected","showFormValidationErrors","fields","clearFormErrors","problem","toLowerCase","problemsMessage","documentModal","resetForm","form","reset","setClass","find","v","initButtons","deleteLease","getPayloadLease","payload","loadLease","undefined","addLease","parsedUnitID","dataToInteger","leasePayload","getRefreshedLeases","notifyMessage","put","forceDelete","path","recordID","hoaID","hoaId","filter","i","deleteLeaseTenant","LeaseID","getPayloadTenant","tenant","$route","unitTestID","row","StartDate","Date","EndDate","TerminationDate","DocumentModal","DatePicker","PageContentLayoutOnly","ValidInput","ValidationObserver","ValidationProvider","created","computed","i18n","en","e","o","module","exports","window","t","n","r","l","call","m","c","d","defineProperty","enumerable","Symbol","toStringTag","__esModule","create","bind","prototype","hasOwnProperty","p","s","addEventListener","passive","removeEventListener","componentInstance","$emit","CustomEvent","detail","createEvent","initCustomEvent","elm","dispatchEvent","iterator","constructor","u","f","target","querySelector","container","active","scrollBy","scrollLeft","scrollTop","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","clientWidth","scrollWidth","clientHeight","scrollHeight","pass","body","deltaX","deltaY","readyState","inserted","update","oldValue","unbind","install","version","split","Error","concat","directive","VueDragscroll","class","focused","textAlign","ariaLabel","fieldType","border","onFocus","onBlur","proxy","selected","ariaPrefix","month","domProps","day","year","months","monthField","assign","dayField","yearField","testValidityDate","numericMonth","isValidDate","startEmpty","onUpdate","notifyError","setValue2","dayOfMonth","setValue","dateString","today","toString","updateValue","getValue","utcFormat","dateStr","ds","dszero","isNaN","getTime","getDate","getMonth","utcExtended","_year","parseInt","utc","advanced","combined","LL","allValid","dayString","extendedValid","Boolean","menu","days","beforeMount","priorOwnersTable","getList","includeDeleted","owners","ownerContacts","parsePriorOwners","init","isOpen","scale","zoom","direction","amt","Math","sqrt","max","min","pdf","directives","multiple","attachments","_t","pdfs","_g","pdfOnClick","cursor","palette","tile","deleteAttachment","updateV2","tileShadow","previews","uploadDescription"],"mappings":"yHAAA,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,oCCA/kB,yBAAwjB,EAAG,G,qICepjB,SAAeU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ACP,iBADJ,SACA,2KACA,yBACA,aAEA,uBACA,MACA,QANA,OASA,WACA,0BAEA,iBAGA,mBAEA,uBAjBA,+CAoBE+I,MAAO,CACL,YADJ,WACA,qKACA,8BACA,4BAGA,MACA,WANA,oBAOA,uDAPA,uBAQA,+BACA,YACA,eAVA,0BAeA,gBAfA,4BAiBA,uDAjBA,wBAkBA,uDACA,YACA,eApBA,2BAyBA,kBAzBA,YA4BA,cA5BA,kCA6BA,yBACA,aAEA,uBACA,MACA,QAlCA,QA0CA,IAJA,UACA,cAvCA,WA0CA,GACA,WACA,mBAEA,0BACA,qBACA,qBAIA,0CACA,kBAGA,4BAEA,gBAhBA,wBAoBA,uBACA,eACA,KAEA,8BACA,iCAGA,YACA,cAvEA,iDCvL6W,I,wBCQzWnI,EAAY,eACd,EACAvJ,EACAsE,GACA,EACA,KACA,KACA,MAIa,OAAAiF,E,kECnBf,yBAAojB,EAAG","file":"js/unit.leaseInformation.1c0eacd6.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&\"","import mod from \"-!../../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../../../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=css&\"; export default mod; export * from \"-!../../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../../../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=css&\"","/*\r\n example:\r\n import { getUnit } from '@/services/Roster/Unit/getUnit';\r\n\r\n const { unit, exception } = await getUnit ({\r\n unitID\r\n });\r\n if (exception) {\r\n console.error (exception);\r\n return;\r\n }\r\n*/\r\n//\r\nimport kms from '@/services/kms'\r\n//\r\nexport async function getUnit({ unitID, kms: kms_ = kms } = {}) {\r\n var result = {}\r\n\r\n try {\r\n result = await kms_.get(`/Roster/Unit/${unitID}`, {\r\n params: {\r\n unitID\r\n }\r\n })\r\n } catch (exception) {\r\n console.error(exception)\r\n\r\n return {\r\n unit: null,\r\n exception\r\n }\r\n }\r\n\r\n return {\r\n unit: result,\r\n exception: null\r\n }\r\n}\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&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"aria-label\":_vm.$t('leases.title'),\"role\":\"region\"}},[_c('b-button',{staticClass:\"is-rounded\",style:({ marginBottom: '20px' }),attrs:{\"add-lease-button\":\"\",\"type\":\"is-primary\"},on:{\"click\":function($event){return _vm.openAddLeaseModal()}}},[_vm._v(\"Add Lease\")]),_c('b-tabs',{staticClass:\"block whitecolor\",attrs:{\"position\":\"is-left\",\"type\":\"is-boxed\"},model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('b-tab-item',{attrs:{\"label\":\"Active\"}},[_c('ModernTable',{attrs:{\"active-table\":\"\",\"headerColor\":\"#FFF\",\"expandableRows\":true,\"columns\":_vm.activeTable.columns,\"rows\":_vm.activeTable.rows,\"region\":_vm.activeTable.region,\"filters\":_vm.activeTable.filters,\"pagination\":{\n perPage: 30\n },\"headerZIndex\":10,\"condensed\":\"\",\"useLoader\":false}})],1),_c('b-tab-item',{attrs:{\"label\":\"Terminated\"}},[_c('ModernTable',{attrs:{\"terminated-table\":\"\",\"headerColor\":\"#FFF\",\"expandableRows\":true,\"columns\":_vm.terminatedTable.columns,\"rows\":_vm.terminatedTable.rows,\"region\":_vm.terminatedTable.region,\"filters\":_vm.terminatedTable.filters,\"pagination\":{\n perPage: 30\n },\"headerZIndex\":10,\"condensed\":\"\",\"useLoader\":false}})],1)],1),_c('Modal',{attrs:{\"toggle\":_vm.showLeaseModal,\"lease-modal\":\"\"},on:{\"update:toggle\":function($event){_vm.showLeaseModal=$event}}},[_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var handleSubmit = ref.handleSubmit;\nreturn [(_vm.action == 'update' || _vm.action == 'add')?_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[(_vm.formData.LeaseTenantID <= 0)?_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onFormSubmit)}}},[_c('fieldset',[_c('valid-input',{style:({ visibility: 'hidden', position: 'absolute' }),attrs:{\"type\":\"hidden\",\"vid\":\"leaseID\"},model:{value:(_vm.formData.leaseID),callback:function ($$v) {_vm.$set(_vm.formData, \"leaseID\", $$v)},expression:\"formData.leaseID\"}}),_c('div',{staticClass:\"column is-12\",style:(_vm.styles.datePickerContainer)},[_c('DatePicker',{style:(_vm.styles.datePicker),attrs:{\"errorMessage\":_vm.formErrors.startDate,\"ariaLabel\":\"Lease Start Date\",\"label\":\"Start Date\",\"startEmpty\":_vm.clearStartDate},on:{\"update:errorMessage\":function($event){return _vm.$set(_vm.formErrors, \"startDate\", $event)},\"update:error-message\":function($event){return _vm.$set(_vm.formErrors, \"startDate\", $event)}},model:{value:(_vm.formData.startDate),callback:function ($$v) {_vm.$set(_vm.formData, \"startDate\", $$v)},expression:\"formData.startDate\"}}),_c('b-button',{attrs:{\"rounded\":\"\"},on:{\"click\":function($event){return _vm.clear('startDate')}}},[_vm._v(\"clear\")])],1),_c('div',{staticClass:\"column is-12\",style:(_vm.styles.datePickerContainer)},[_c('DatePicker',{style:(_vm.styles.datePicker),attrs:{\"errorMessage\":_vm.formErrors.endDate,\"ariaLabel\":\"Lease End Date\",\"label\":\"End Date\",\"startEmpty\":_vm.clearEndDate},on:{\"update:errorMessage\":function($event){return _vm.$set(_vm.formErrors, \"endDate\", $event)},\"update:error-message\":function($event){return _vm.$set(_vm.formErrors, \"endDate\", $event)}},model:{value:(_vm.formData.endDate),callback:function ($$v) {_vm.$set(_vm.formData, \"endDate\", $$v)},expression:\"formData.endDate\"}}),_c('b-button',{attrs:{\"rounded\":\"\"},on:{\"click\":function($event){return _vm.clear('endDate')}}},[_vm._v(\"clear\")])],1),_c('div',{staticClass:\"column is-12\",style:(_vm.styles.datePickerContainer)},[_c('DatePicker',{style:(_vm.styles.datePicker),attrs:{\"ariaLabel\":\"Lease Termination Date\",\"label\":\"Termination Date\",\"startEmpty\":_vm.clearTerminationDate},model:{value:(_vm.formData.terminationDate),callback:function ($$v) {_vm.$set(_vm.formData, \"terminationDate\", $$v)},expression:\"formData.terminationDate\"}}),_c('b-button',{attrs:{\"rounded\":\"\"},on:{\"click\":function($event){return _vm.clear('terminationDate')}}},[_vm._v(\"clear\")])],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Notes\",\"label\":\"Notes\",\"maxlength\":\"50\",\"type\":\"text\",\"vid\":\"Notes\",\"placeholder\":\"Notes\",\"spellcheck\":\"true\",\"aria-label\":\"Notes\",\"rules\":\"max:50|required\"},model:{value:(_vm.formData.Notes),callback:function ($$v) {_vm.$set(_vm.formData, \"Notes\", $$v)},expression:\"formData.Notes\"}})],1),_c('div',{staticClass:\"column is-12\"},[(_vm.action && _vm.action == 'add')?_c('button',{staticClass:\"button is-primary is-rounded\",style:({ float: 'right' }),attrs:{\"add\":\"\",\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" Add \")]):_vm._e(),(_vm.action && _vm.action == 'update')?_c('button',{staticClass:\"button is-primary is-rounded\",style:({ float: 'right' }),attrs:{\"update\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.updateLease(_vm.selectedLease, _vm.selectedID)}}},[_vm._v(\" Update \")]):_vm._e()])],1),_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)]):_vm._e()]):_vm._e()]}}])})],1),_c('Modal',{attrs:{\"toggle\":_vm.showTenantModal},on:{\"update:toggle\":function($event){_vm.showTenantModal=$event}}},[_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var handleSubmit = ref.handleSubmit;\nreturn [(_vm.action == 'updatetenant' || _vm.action == 'addtenant')?_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.addLeaseTenant)}}},[_c('fieldset',[_c('label',{staticClass:\"title is-7 tooltip-label\"},[_vm._v(_vm._s(_vm.formData.Notes))]),_c('valid-input',{style:({ position: 'absolute', visibility: 'hidden' }),attrs:{\"type\":\"hidden\",\"vid\":\"leaseTenantID\"},model:{value:(_vm.formData.LeaseTenantID),callback:function ($$v) {_vm.$set(_vm.formData, \"LeaseTenantID\", $$v)},expression:\"formData.LeaseTenantID\"}}),_c('valid-input',{style:({ position: 'absolute', visibility: 'hidden' }),attrs:{\"type\":\"hidden\",\"vid\":\"leaseID\"},model:{value:(_vm.formData.LeaseID),callback:function ($$v) {_vm.$set(_vm.formData, \"LeaseID\", $$v)},expression:\"formData.LeaseID\"}}),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"message\":_vm.formErrors.LeaseTenantName,\"name\":\"LeaseTenantName\",\"label\":\"Name\",\"maxlength\":\"100\",\"type\":\"text\",\"vid\":\"LeaseTenantName\",\"placeholder\":\"Lease Tenant Name\",\"spellcheck\":\"true\",\"aria-label\":\"Name\",\"rules\":\"max:100|required\",\"required\":\"\"},model:{value:(_vm.formData.LeaseTenantName),callback:function ($$v) {_vm.$set(_vm.formData, \"LeaseTenantName\", $$v)},expression:\"formData.LeaseTenantName\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"message\":_vm.formErrors.LeaseTenantEmail,\"name\":\"LeaseTenantEmail\",\"label\":\"Email\",\"maxlength\":\"255\",\"type\":\"email\",\"vid\":\"LeaseTenantEmail\",\"placeholder\":\"Lease Tenant Email\",\"spellcheck\":\"true\",\"aria-label\":\"Email\",\"rules\":\"max:255\"},model:{value:(_vm.formData.LeaseTenantEmail),callback:function ($$v) {_vm.$set(_vm.formData, \"LeaseTenantEmail\", $$v)},expression:\"formData.LeaseTenantEmail\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"message\":_vm.formErrors.LeaseTenantPhone,\"name\":\"LeaseTenantPhone\",\"label\":\"Phone\",\"maxlength\":\"20\",\"type\":\"phone\",\"vid\":\"LeaseTenantPhone\",\"placeholder\":\"Lease Tenant Phone\",\"spellcheck\":\"true\",\"aria-label\":\"Phone\",\"rules\":\"max:20\"},model:{value:(_vm.formData.LeaseTenantPhone),callback:function ($$v) {_vm.$set(_vm.formData, \"LeaseTenantPhone\", $$v)},expression:\"formData.LeaseTenantPhone\"}})],1),_c('div',{staticClass:\"column is-12\"},[(_vm.action && _vm.action == 'addtenant')?_c('button',{staticClass:\"button is-primary is-rounded float-right\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" Add \")]):_vm._e(),(_vm.action && _vm.action == 'updatetenant')?_c('button',{staticClass:\"button is-primary is-rounded float-right\",on:{\"click\":function($event){$event.preventDefault();return _vm.updateLeaseTenant(_vm.selectedLease, _vm.selectedID)}}},[_vm._v(\" Update \")]):_vm._e()])],1),_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)])]):_vm._e()]}}])})],1),_c('DocumentModal',{ref:\"documentModal\",attrs:{\"leaseID\":_vm.formData.leaseID,\"onUpload\":_vm.documentsUpdated}})],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('div',[_c('Modal',{attrs:{\"toggle\":_vm.show,\"loading\":_vm.loading},on:{\"update:toggle\":function($event){_vm.show=$event}}},[_c('PDFUploader',{attrs:{\"update\":_vm.documentsUpdated}}),_c('div',{style:({ display: 'flex', justifyContent: 'end', paddingBottom: '12px 0' })},[_c('b-button',{attrs:{\"type\":\"is-primary\"},on:{\"click\":_vm.upload}},[_vm._v(\"Upload\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n example:\r\n import { storeLeaseDocument } from '@/services/LeaseDocument/LeaseDocument/StoreDocumentFile';\r\n\r\n const { result, successful, message } = await storeLeaseDocument ({\r\n document,\r\n params: {\r\n\t\t\t\tleaseID,\r\n\r\n\t\t\t\t// optional\r\n\t\t\t\texistingLeaseDocumentID\r\n }\r\n });\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 storeLeaseDocument({ params, document }) {\r\n var message = 'The lease document could not be stored.'\r\n\r\n try {\r\n const formData = new FormData()\r\n formData.append('file', document)\r\n\r\n console.log('formData', formData.get('file'))\r\n\r\n const result = await kms.post(`/LeaseDocument/LeaseDocument/StoreDocumentFile`, formData, {\r\n params,\r\n headers: {\r\n 'Content-Type': 'multipart/form-data'\r\n }\r\n })\r\n\r\n return {\r\n successful: true,\r\n message: '',\r\n result\r\n }\r\n } catch (exception) {\r\n console.log(exception.message)\r\n console.error(exception)\r\n\r\n let errorMessage = _get(exception, 'message', '')\r\n if (typeof errorMessage === 'string' && errorMessage.length >= 1) {\r\n message = errorMessage\r\n }\r\n }\r\n\r\n return {\r\n successful: false,\r\n message,\r\n result: null\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n\timport { parseErrors } from '@/utilities/response/parseErrors'\r\n\r\n\tvar { errorMessage } = parseErrors ({ data });\r\n*/\r\n\r\n/*\r\n\t{\r\n\t\t\"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\r\n\t\t\"title\": \"One or more validation errors occurred.\",\r\n\t\t\"status\": 400,\r\n\t\t\"traceId\": \"00-17e1a3b018cf1d478a3199d5143ebcf1-9eca96f5be7ff842-00\",\r\n\t\t\"errors\": {\r\n\t\t\t\"Description\": [\r\n\t\t\t\t\"Please enter up to 50 characters for the description.\"\r\n\t\t\t]\r\n\t\t}\r\n\t}\r\n\r\n\t->\r\n\r\n\t\"Please enter up to 50 characters for the description.\"\r\n\r\n*/\r\n\r\nimport _get from 'lodash/get'\r\n\r\nexport function parseErrors({ data }) {\r\n let errorMessage = []\r\n\r\n try {\r\n const errors = _get(data, 'errors', [])\r\n const keys = Object.keys(errors)\r\n\r\n if (keys.length >= 1) {\r\n for (let key in errors) {\r\n errorMessage.push(errors[key])\r\n }\r\n }\r\n } catch (x) {\r\n console.error(x)\r\n }\r\n\r\n return {\r\n errorMessage: errorMessage.join(', ')\r\n }\r\n}\r\n","/*\r\n example:\r\n import { addLeaseDocument } from '@/services/LeaseDocument/LeaseDocument/Post';\r\n\r\n const { leaseDocumentID, successful, message } = await addLeaseDocument ({\r\n json: {\r\n leaseID,\r\n description: \"file.txt\"\r\n }\r\n });\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\nimport { parseErrors } from '@/utilities/response/parseErrors'\r\n//\r\nexport async function addLeaseDocument({ json }) {\r\n var message = 'The lease document data could not be added.'\r\n var leaseDocumentID = null\r\n\r\n const { resp, status, data, successful } = await kms.post2(`/LeaseDocument/LeaseDocument`, json)\r\n if (!successful) {\r\n console.log('addLeaseDocument', { data })\r\n\r\n var { errorMessage } = parseErrors({ data })\r\n if (typeof errorMessage === 'string' && errorMessage.length >= 1) {\r\n message = errorMessage\r\n }\r\n } else {\r\n leaseDocumentID = _get(data, ['leaseDocumentID'], '')\r\n }\r\n\r\n console.log({\r\n successful,\r\n data,\r\n status,\r\n resp\r\n })\r\n\r\n return {\r\n successful,\r\n message,\r\n leaseDocumentID\r\n }\r\n}\r\n\r\n///////\r\n","// /LeaseDocument/LeaseDocument/{leaseDocumentID}\r\n\r\n/*\r\n example:\r\n import { deleteLeaseDocument } from '@/services/LeaseDocument/LeaseDocument/Delete';\r\n\r\n const { result, successful, message } = await deleteLeaseDocument ({\r\n leaseDocumentID\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 deleteLeaseDocument({ leaseDocumentID }) {\r\n const message = 'The lease document could not be deleted.'\r\n\r\n try {\r\n const result = await kms.delete(`/LeaseDocument/LeaseDocument/${leaseDocumentID}`)\r\n\r\n return {\r\n successful: true,\r\n message: '',\r\n 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 result: []\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n import { StoreMultiple } from '@/services/LeaseDocument/LeaseDocument/sequences/StoreMultiple';\r\n\r\n const { successful, documentIds } = await StoreMultiple ({\r\n leaseID,\r\n documents: []\r\n });\r\n if (!successful) {\r\n\r\n }\r\n\r\n*/\r\n//\r\nimport { storeLeaseDocument } from '../StoreDocumentFile'\r\nimport { addLeaseDocument } from '@/services/LeaseDocument/LeaseDocument/Post'\r\nimport { deleteLeaseDocument } from '@/services/LeaseDocument/LeaseDocument/Delete'\r\n\r\n//\r\nimport { notifyProblem } from '@/services/notify'\r\n//\r\nexport async function StoreMultiple({ leaseID, documents }) {\r\n const results = await Promise.all(\r\n documents.map(doc => {\r\n return new Promise(async resolve => {\r\n const { leaseDocumentID, successful, message } = await addLeaseDocument({\r\n json: {\r\n leaseID,\r\n description: doc.name\r\n }\r\n })\r\n if (!successful) {\r\n notifyProblem(message)\r\n\r\n const {\r\n successful: deletionSuccessful,\r\n message: deletionMessage\r\n } = await deleteLeaseDocument({\r\n leaseDocumentID\r\n })\r\n if (!deletionSuccessful) {\r\n console.error(deletionMessage)\r\n }\r\n\r\n resolve({\r\n successful: false\r\n })\r\n return\r\n }\r\n\r\n const { successful: storeSuccessful, message: storeMessage } = await storeLeaseDocument({\r\n document: doc,\r\n params: {\r\n leaseID,\r\n\r\n // optional\r\n existingLeaseDocumentID: leaseDocumentID\r\n }\r\n })\r\n if (!storeSuccessful) {\r\n notifyProblem(storeMessage)\r\n\r\n const {\r\n successful: deletionSuccessful,\r\n message: deletionMessage\r\n } = await deleteLeaseDocument({\r\n leaseDocumentID\r\n })\r\n if (!deletionSuccessful) {\r\n console.error(deletionMessage)\r\n }\r\n\r\n resolve({\r\n successful: false\r\n })\r\n return\r\n }\r\n\r\n resolve({\r\n successful: true,\r\n leaseDocumentID\r\n })\r\n })\r\n })\r\n )\r\n\r\n const problems = []\r\n const uploads = []\r\n for (let a = 0; a < results.length; a++) {\r\n const result = results[a]\r\n const { successful, leaseDocumentID } = result\r\n\r\n if (successful === false) {\r\n problems.push(result)\r\n }\r\n\r\n if (successful === true) {\r\n uploads.push(leaseDocumentID)\r\n }\r\n }\r\n\r\n return {\r\n uploads,\r\n problems\r\n }\r\n}\r\n","/*\r\n import { leaseDocumentStore } from '@/services/LeaseDocument/LeaseDocument/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nimport { StoreMultiple } from '@/services/LeaseDocument/LeaseDocument/sequences/StoreMultiple'\r\nimport { deleteLeaseDocument } from '@/services/LeaseDocument/LeaseDocument/Delete'\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { uploads, problems } = await leaseDocumentStore.dispatch ('storeMultiple', {\r\n leaseID,\r\n documents\r\n });\r\n */\r\n async storeMultiple({ commit }, { leaseID, documents }) {\r\n const { uploads, problems } = await StoreMultiple({\r\n leaseID,\r\n documents\r\n })\r\n if (uploads.length >= 1) {\r\n commit('documentsStored')\r\n }\r\n\r\n return {\r\n uploads,\r\n problems\r\n }\r\n },\r\n\r\n /*\r\n await leaseDocumentStore.dispatch ('deleteOne', {\r\n leaseDocumentID\r\n });\r\n */\r\n async deleteOne({ commit }, { leaseDocumentID }) {\r\n const { successful } = await deleteLeaseDocument({\r\n leaseDocumentID\r\n })\r\n if (successful) {\r\n commit('documentDeleted')\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const leaseDocumentStore = new Vuex.Store({\r\n state: {\r\n /*\r\n e.g. documents [ leaseId ] = []\r\n */\r\n documents: {}\r\n },\r\n mutations: {\r\n documentDeleted() {},\r\n documentsStored() {},\r\n /*\r\n this.unsubscribeLeaseDocumentStore = leaseDocumentStore.subscribe(mutation => {\r\n const mType = mutation.type\r\n\r\n if (mType === 'updateDocuments') {\r\n\r\n }\r\n })\r\n */\r\n updateDocuments(state, { leaseID, list }) {\r\n state.documents[leaseID] = list\r\n }\r\n },\r\n getters: {},\r\n actions\r\n})\r\n","import { leaseDocumentStore } from '@/services/LeaseDocument/LeaseDocument/store'\r\nimport { notifyProblem } from '@/services/notify'\r\n\r\nconst messages = {\r\n 1: 'No documents were added for upload.'\r\n}\r\n\r\nexport const methods = {\r\n documentsUpdated({ documents }) {\r\n this.documents = documents\r\n },\r\n\r\n open({ id }) {\r\n this.id = id\r\n\r\n this.documents = []\r\n\r\n this.loading = false\r\n this.show = true\r\n },\r\n\r\n async upload() {\r\n this.loading = true\r\n\r\n if (!Array.isArray(this.documents) || this.documents.length === 0) {\r\n notifyProblem(messages[1])\r\n this.loading = false\r\n return\r\n }\r\n\r\n const leaseID = this.id\r\n const { problems } = await leaseDocumentStore.dispatch('storeMultiple', {\r\n leaseID,\r\n documents: this.documents\r\n })\r\n if (problems.length >= 1) {\r\n notifyProblem(`A problem occurred and ${problems.length} photos may not have been stored.`)\r\n this.loading = false\r\n return\r\n }\r\n\r\n this.onUpload()\r\n\r\n this.loading = false\r\n this.show = false\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=43ec7f36&\"\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","import moment from 'moment'\r\n\r\nexport const data = function() {\r\n let DEFAULT_FORM_VALUES = {\r\n leaseID: 0,\r\n unitID: 0,\r\n startDate: null,\r\n endDate: null,\r\n terminationDate: null,\r\n notes: '',\r\n leaseTenantID: 0,\r\n leaseTenantName: '',\r\n leaseTenantPhone: '',\r\n leaseTenantEmail: ''\r\n }\r\n\r\n let DEFAULT_FORM_ERRORS = {\r\n startDate: null,\r\n endDate: null,\r\n LeaseTenantName: '',\r\n LeaseTenantPhone: '',\r\n LeaseTenantEmail: ''\r\n }\r\n\r\n return {\r\n activeTab: 0,\r\n DEFAULT_FORM_VALUES,\r\n DEFAULT_FORM_ERRORS,\r\n formErrors: {\r\n ...DEFAULT_FORM_ERRORS\r\n },\r\n formData: {\r\n ...DEFAULT_FORM_VALUES\r\n },\r\n formComplete: false,\r\n loading: true,\r\n isDebug: true,\r\n confirmModal: 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 formatFn: function(value) {\r\n return value != null ? value : ''\r\n },\r\n formatNumberFn: function(value) {\r\n return value != null ? value : 0\r\n },\r\n selectedRow: null,\r\n leaseList: [{}],\r\n terminatedLeaseList: [{}],\r\n unitID: null,\r\n selectedID: null,\r\n selectedLeaseID: null,\r\n selectedLease: null,\r\n selectedLeaseTenant: null,\r\n formShow: false,\r\n action: '',\r\n showWeekNumber: false,\r\n showDetailIcon: true,\r\n selectedParentClass: 'is-selected',\r\n normalParentClass: '',\r\n clearStartDate: false,\r\n clearEndDate: false,\r\n clearTerminationDate: false,\r\n showLeaseModal: false,\r\n showTenantModal: false,\r\n showDocumentModal: false,\r\n\r\n activeTable: {\r\n region: {},\r\n filters: {\r\n show: false\r\n },\r\n expandableRows: true,\r\n columns: [\r\n {\r\n field: 'id',\r\n\r\n label: 'ID',\r\n aria: 'ID',\r\n width: '5%',\r\n numeric: true,\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'startDate',\r\n date: true,\r\n\r\n label: 'Start Date',\r\n aria: 'Start Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'endDate',\r\n date: true,\r\n\r\n label: 'End Date',\r\n aria: 'End Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'terminationDate',\r\n date: true,\r\n\r\n label: 'Termination Date',\r\n aria: 'Termination Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'notes',\r\n\r\n label: 'Notes',\r\n aria: 'Notes',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'modifiedDate',\r\n date: true,\r\n\r\n label: 'Modification Date',\r\n aria: 'Modification Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'actions',\r\n label: 'Actions',\r\n aria: 'Actions',\r\n width: '5%'\r\n }\r\n ],\r\n rows: []\r\n },\r\n\r\n terminatedTable: {\r\n region: {},\r\n filters: {\r\n show: false\r\n },\r\n columns: [\r\n {\r\n field: 'id',\r\n\r\n label: 'ID',\r\n aria: 'ID',\r\n width: '5%',\r\n numeric: true,\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'startDate',\r\n date: true,\r\n\r\n label: 'Start Date',\r\n aria: 'Start Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'endDate',\r\n date: true,\r\n\r\n label: 'End Date',\r\n aria: 'End Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'terminationDate',\r\n date: true,\r\n\r\n label: 'Termination Date',\r\n aria: 'Termination Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'notes',\r\n\r\n label: 'Notes',\r\n aria: 'Notes',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'modifiedDate',\r\n date: true,\r\n\r\n label: 'Modification Date',\r\n aria: 'Modification Date',\r\n width: '5%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'actions',\r\n label: 'Actions',\r\n aria: 'Actions',\r\n width: '5%'\r\n }\r\n ],\r\n rows: []\r\n },\r\n\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{style:({\n whiteSpace: 'no-wrap',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n })},[_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":function($event){return _vm.loadUpdateLease(_vm.leaseID)}}},[_vm._v(\" Edit\")]),_vm._v(\"  \"),_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":function($event){return _vm.confirmDeleteLease(_vm.leaseID)}}},[_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!./Actions.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!./Actions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Actions.vue?vue&type=template&id=078f0875&\"\nimport script from \"./Actions.vue?vue&type=script&lang=js&\"\nexport * from \"./Actions.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',[_c('div',{style:({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: '12px'\n })},[_c('h4',{style:({ margin: 0 })},[_vm._v(\"Tenants\")]),_c('b-button',{staticClass:\"is-rounded\",attrs:{\"type\":\"is-primary\"},on:{\"click\":_vm.addTenant}},[_vm._v(\" Add Tenant \")])],1),_c('ModernTable',{attrs:{\"height\":\"initial\",\"condensed\":\"\",\"columns\":_vm.columns,\"rows\":_vm.rows,\"useLoader\":false}}),_c('div',{style:({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: '12px'\n })},[_c('h4',{style:({ margin: 0 })},[_vm._v(\"Documents\")]),_c('b-button',{staticClass:\"is-rounded\",attrs:{\"type\":\"is-primary\"},on:{\"click\":function($event){return _vm.addDocuments({ leaseID: _vm.leaseID })}}},[_vm._v(\" Add Documents \")])],1),_c('PDFModal',{ref:\"pdfModal\"}),_c('div',{staticClass:\"pb-5\",style:({ position: 'relative', display: 'flex', flexWrap: 'wrap', width: '100%' })},[_vm._l((_vm.documents),function(doc,index){return _c('div',{key:index,style:({\n position: 'relative',\n width: '200px',\n height: '100px',\n background: '#FFF',\n borderRadius: '4px',\n margin: '10px',\n boxShadow: \"0 0 4px 1px #E6E6E6\"\n })},[_c('div',{style:({\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n width: '100%',\n height: '100%',\n overflow: 'hidden'\n })},[_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,ref:'pdf-' + index,refInFor:true,style:({\n margin: 'auto',\n width: ((100 * 1) + \"%\"),\n opacity: _vm.loading ? 0 : 1,\n transition: _vm.transition ? '.2s opacity' : ''\n }),attrs:{\"src\":doc.content,\"page\":index + 1,\"scale\":1,\"resize\":true}})})],2),_c('b-tooltip',{style:({ position: 'absolute', top: '10px', left: '10px' }),attrs:{\"label\":\"Delete\"}},[_c('button',{staticClass:\"delete\",style:({ position: 'relative' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.confirmEraseDocument({ index: index, doc: doc })}}})]),_c('b-tooltip',{attrs:{\"label\":\"Preview\"}},[_c('button',{staticClass:\"view\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.openPDFModal(doc.documentId, doc.description)}}},[_c('span',{staticClass:\"pl-6 href-overflow-wrap centerpreview\",staticStyle:{\"font-size\":\"8pt\"}},[_vm._v(_vm._s(doc.description || 'Preview'))])])]),_c('b-tooltip',{style:({ position: 'absolute', top: '10px', right: '10px' }),attrs:{\"label\":\"Download\"}},[_c('button',{attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.downloadDocument({ index: index, doc: doc })}}},[_c('b-icon',{style:({ color: 'rgba(10, 10, 10, 0.2)' }),attrs:{\"icon\":\"download\",\"size\":\"is-small\"}})],1)])],1)}),(_vm.documents.length === 0)?_c('div',{staticClass:\"has-text-grey has-text-centered\",style:({ padding: '20px' })},[_vm._v(\" No documents added \")]):_vm._e(),_c('b-loading',{attrs:{\"is-full-page\":false},model:{value:(_vm.loading),callback:function ($$v) {_vm.loading=$$v},expression:\"loading\"}})],2)],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('div',[_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":function($event){return _vm.loadUpdateLeaseTenant(_vm.leaseTenantID, _vm.item)}}},[_vm._v(\" Edit\")]),_vm._v(\"  \"),_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":function($event){return _vm.confirmDeleteLeaseTenant(_vm.leaseTenantID, _vm.name)}}},[_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!./DetailsActions.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!./DetailsActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DetailsActions.vue?vue&type=template&id=10b535f4&\"\nimport script from \"./DetailsActions.vue?vue&type=script&lang=js&\"\nexport * from \"./DetailsActions.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 { listLeaseDocuments } from '@/services/LeaseDocument/LeaseDocument/List';\r\n\r\n const { list, successful, message } = await listLeaseDocuments ({\r\n params: {\r\n leaseID\r\n }\r\n });\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 listLeaseDocuments({ params }) {\r\n const message = 'The lease documents list could not be retrieved.'\r\n\r\n try {\r\n const result = await kms.get(`/LeaseDocument/LeaseDocument/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 message: '',\r\n list\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 list: []\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n example:\r\n import { getLeaseDoc } from '@/services/LeaseDocument/LeaseDocument/GetDocumentFile';\r\n\r\n const { doc, successful, message } = await getLeaseDoc ({\r\n params: {\r\n\t\t\t\tleaseDocumentID,\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 getLeaseDocument({ params }) {\r\n const message = 'The lease document could not be retrieved.'\r\n\r\n try {\r\n const doc = await kms.get(`/LeaseDocument/LeaseDocument/GetDocumentFile`, {\r\n params\r\n })\r\n\r\n return {\r\n successful: true,\r\n message: '',\r\n doc\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 doc: null\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n example:\r\n import { getLeaseDocumentData } from '@/services/LeaseDocument/LeaseDocument/Get';\r\n\r\n const { result, successful, message } = await getLeaseDocumentData ({\r\n leaseDocumentID\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 getLeaseDocumentData({ leaseDocumentID }) {\r\n const message = 'The lease document data could not be retrieved.'\r\n\r\n try {\r\n const result = await kms.get(`/LeaseDocument/LeaseDocument/${leaseDocumentID}`)\r\n\r\n return {\r\n successful: true,\r\n message: '',\r\n 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 result: []\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n import { getMultiple } from '@/services/LeaseDocument/LeaseDocument/sequences/GetMultiple';\r\n\r\n const { docs, problems } = await getMultiple ({\r\n paramsList: [{\r\n \r\n }]\r\n });\r\n if (!successful) {\r\n\r\n }\r\n*/\r\n\r\nimport _get from 'lodash/get'\r\n//\r\nimport { getLeaseDocument } from '../GetDocumentFile'\r\nimport { getLeaseDocumentData } from '../Get'\r\n//\r\nexport async function getMultiple({ paramsList }) {\r\n const results = await Promise.all(\r\n paramsList.map(params => {\r\n return new Promise(async resolve => {\r\n const leaseDocumentID = params.leaseDocumentID\r\n\r\n const {\r\n result: resultData,\r\n successful: getSuccessful,\r\n message: dataMessage\r\n } = await getLeaseDocumentData({\r\n leaseDocumentID\r\n })\r\n if (!getSuccessful) {\r\n console.error(dataMessage)\r\n resolve({\r\n successful: false\r\n })\r\n return\r\n }\r\n\r\n const description = _get(resultData, 'description', '')\r\n const documentId = _get(resultData, 'document.documentId', 0)\r\n\r\n const { doc, successful, message } = await getLeaseDocument({\r\n params\r\n })\r\n if (!successful) {\r\n console.error(message)\r\n resolve({\r\n successful: false\r\n })\r\n return\r\n }\r\n\r\n console.log({\r\n successful,\r\n message\r\n })\r\n\r\n resolve({\r\n doc,\r\n description,\r\n leaseDocumentID,\r\n documentId,\r\n successful: true\r\n })\r\n })\r\n })\r\n )\r\n\r\n const problems = []\r\n const retrievals = []\r\n for (let a = 0; a < results.length; a++) {\r\n const result = results[a]\r\n const { successful } = result\r\n\r\n if (successful === true) {\r\n retrievals.push({\r\n content: result.doc,\r\n description: result.description,\r\n leaseDocumentID: result.leaseDocumentID,\r\n documentId: result.documentId\r\n })\r\n } else {\r\n problems.push(result)\r\n }\r\n }\r\n\r\n const formData = new FormData()\r\n formData.append('file', retrievals[0])\r\n\r\n return {\r\n docs: retrievals,\r\n problems\r\n }\r\n}\r\n","/*\r\n\timport { download } from '@/utilities/download'\r\n\r\n\tdownload ({\r\n\t\tname\r\n\t\tcontent\r\n\t})\r\n*/\r\n\r\nexport function download({ name, content }) {\r\n var a = document.createElement('a')\r\n a.href = content\r\n a.download = name\r\n a.click()\r\n}\r\n","import _get from 'lodash/get'\r\nimport DetailsActions from './../components/DetailsActions'\r\nimport { listLeaseDocuments } from '@/services/LeaseDocument/LeaseDocument/List'\r\nimport { getMultiple } from '@/services/LeaseDocument/LeaseDocument/sequences/GetMultiple'\r\nimport { leaseDocumentStore } from '@/services/LeaseDocument/LeaseDocument/store'\r\nimport { notifyProblem } from '@/services/notify'\r\nimport { download } from '@/utilities/download'\r\n\r\nexport const methods = {\r\n downloadDocument({ doc }) {\r\n const { description, content } = doc\r\n\r\n download({\r\n name: description,\r\n content\r\n })\r\n },\r\n\r\n confirmEraseDocument({ doc }) {\r\n const { description, leaseDocumentID } = doc\r\n\r\n this.$buefy.dialog.confirm({\r\n title: 'Document Deletion',\r\n message: `Are you sure you want to delete this document, '${description}'?`,\r\n confirmText: 'Delete',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: () => this.eraseDocument({ leaseDocumentID })\r\n })\r\n },\r\n\r\n async eraseDocument({ leaseDocumentID }) {\r\n this.loading = true\r\n\r\n await leaseDocumentStore.dispatch('deleteOne', {\r\n leaseID: this.leaseID,\r\n leaseDocumentID\r\n })\r\n\r\n await this.refresh()\r\n\r\n this.loading = false\r\n },\r\n\r\n updateRows: function() {\r\n if (!Array.isArray(this.leaseTenants)) {\r\n return\r\n }\r\n\r\n this.rows = this.leaseTenants.map(entry => {\r\n const name = _get(entry, 'name', '')\r\n\r\n return {\r\n name,\r\n phone: _get(entry, 'phone', ''),\r\n email: _get(entry, 'email', ''),\r\n actions: {\r\n component: DetailsActions,\r\n props: {\r\n item: entry,\r\n leaseTenantID: _get(entry, 'leaseTenantID', ''),\r\n name,\r\n loadUpdateLeaseTenant: (_id, _item) => {\r\n this.loadUpdateLeaseTenant(_id, _item)\r\n },\r\n confirmDeleteLeaseTenant: (_id, _name) => {\r\n this.confirmDeleteLeaseTenant(_id, _name)\r\n }\r\n }\r\n }\r\n }\r\n })\r\n },\r\n\r\n async getDocuments({ list }) {\r\n console.debug('documents list=' + JSON.stringify(list))\r\n\r\n if (!Array.isArray(list) || list.length === 0) {\r\n this.documents = []\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n const paramsList = list.map(entry => {\r\n return {\r\n leaseDocumentID: entry.leaseDocumentID,\r\n autoMimeType: true,\r\n asBase64: true\r\n }\r\n })\r\n\r\n const { docs, problems } = await getMultiple({\r\n paramsList\r\n })\r\n if (problems.length >= 1) {\r\n const count = problems.length\r\n notifyProblem(\r\n `A problem occurred and ${problems.length} document${\r\n count === 1 ? '' : 's'\r\n } could not be displayed.`\r\n )\r\n }\r\n\r\n this.documents = docs\r\n\r\n //console.debug('docs=' + JSON.stringify(docs))\r\n\r\n await new Promise(resolve => {\r\n setTimeout(() => {\r\n this.loading = false\r\n resolve()\r\n }, 500)\r\n })\r\n },\r\n\r\n async openPDFModal(id, description) {\r\n console.debug('in openPDFModal...' + id)\r\n if (this.documents) {\r\n for (let a = 0; a < this.documents.length; a++) {\r\n const document = this.documents[a]\r\n\r\n console.debug('document id=' + id + ', document id=' + document.documentId)\r\n\r\n if (document.documentId === id) {\r\n this.$refs.pdfModal.open({\r\n src: this.documents[a].content\r\n })\r\n\r\n this.$refs.pdfModal.setTitle({ pdfTitle: description })\r\n return\r\n }\r\n }\r\n }\r\n },\r\n\r\n async refresh() {\r\n const { list, successful, message } = await listLeaseDocuments({\r\n params: {\r\n leaseID: this.leaseID\r\n }\r\n })\r\n if (!successful) {\r\n console.debug(message)\r\n return\r\n }\r\n\r\n await this.getDocuments({\r\n list\r\n })\r\n }\r\n}\r\n","// import _get from 'lodash/get'\r\nimport { leaseDocumentStore } from '@/services/LeaseDocument/LeaseDocument/store'\r\n\r\nexport function mounted() {\r\n this.updateRows()\r\n this.refresh()\r\n\r\n this.unsubscribeLeaseDocumentStore = leaseDocumentStore.subscribe(mutation => {\r\n const mType = mutation.type\r\n\r\n if (mType === 'documentsStored') {\r\n this.refresh()\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=73f04a6c&\"\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=css&\"\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 _get from 'lodash/get'\r\n//\r\nimport { parseDate } from '@/utilities/Date/parse'\r\n//\r\nimport Actions from '../../../components/Actions'\r\nimport Details from '../../../components/Details'\r\n//\r\nexport const updateRows = function({ table, list }) {\r\n const dateFormat = 'LL'\r\n\r\n this[table].rows = this[list].map(lease => {\r\n const id = _get(lease, 'leaseID', '')\r\n const leaseTenants = _get(lease, 'leaseTenants', '')\r\n\r\n const parsed = {\r\n _expandable: {\r\n show: true,\r\n expanded: true,\r\n component: Details,\r\n props: {\r\n leaseID: id,\r\n leaseTenants,\r\n loadUpdateLeaseTenant: (_id, _name) => {\r\n this.loadUpdateLeaseTenant(_id, _name)\r\n },\r\n confirmDeleteLeaseTenant: (_id, _name) => {\r\n this.confirmDeleteLeaseTenant(_id, _name)\r\n },\r\n addTenant: () => {\r\n this.openTenantModal({\r\n leaseID: id,\r\n action: 'add'\r\n })\r\n },\r\n addDocuments: () => {\r\n this.openDocumentModal({\r\n id\r\n })\r\n }\r\n }\r\n },\r\n\r\n id,\r\n startDate: {\r\n date: parseDate(_get(lease, 'startDate', ''), dateFormat),\r\n format: dateFormat\r\n },\r\n endDate: {\r\n date: parseDate(_get(lease, 'endDate', ''), dateFormat),\r\n format: dateFormat\r\n },\r\n terminationDate: {\r\n date: parseDate(_get(lease, 'terminationDate', ''), dateFormat),\r\n format: dateFormat\r\n },\r\n notes: _get(lease, 'notes', ''),\r\n modifiedDate: {\r\n date: parseDate(_get(lease, 'modifiedDate', ''), dateFormat),\r\n format: dateFormat\r\n },\r\n actions: {\r\n component: Actions,\r\n props: {\r\n leaseID: id,\r\n loadLeaseTenant: _id => {\r\n this.openTenantModal({\r\n leaseID: _id,\r\n action: 'add'\r\n })\r\n },\r\n loadUpdateLease: _id => {\r\n this.updateSelected({\r\n id: _id,\r\n list\r\n })\r\n\r\n this.loadUpdateLease(_id)\r\n },\r\n confirmDeleteLease: _id => {\r\n this.confirmDeleteLease(_id)\r\n }\r\n }\r\n }\r\n }\r\n\r\n return parsed\r\n })\r\n}\r\n","/*\r\n Phone (case insensitive) -> LeaseTenantPhone\r\n Email (case insensitive) -> LeaseTenantEmail\r\n*/\r\n\r\nimport _get from 'lodash/get'\r\nimport { notifyProblem } from '@/services/notify'\r\n\r\nexport function showFormValidationErrors({ exception }) {\r\n const fields = _get(exception, ['fields'], null)\r\n\r\n this.clearFormErrors()\r\n\r\n const problems = []\r\n for (let key in fields) {\r\n const problem = _get(fields, [key], []).join(' ')\r\n problems.push(problem)\r\n\r\n // formErrors mappings\r\n if (key.toLowerCase() === 'phone') {\r\n key = 'LeaseTenantPhone'\r\n } else if (key.toLowerCase() === 'email') {\r\n key = 'LeaseTenantEmail'\r\n } else {\r\n console.error(`server error field \"${key}\" was not anticipated`)\r\n }\r\n this.formErrors[key] = problem\r\n }\r\n\r\n const problemsMessage = problems.join(' ')\r\n if (problemsMessage.length === 0) {\r\n notifyProblem(exception)\r\n } else {\r\n notifyProblem(problems.join(' '))\r\n }\r\n}\r\n","import _get from 'lodash/get'\r\nimport { updateRows } from './list/updateRows'\r\nimport { showFormValidationErrors } from './list/showFormValidationErrors'\r\nimport { notifyMessage, notifyProblem } from '@/services/notify'\r\nimport dataToInteger from '@/utilities/data/toInteger'\r\n\r\nexport const methods = {\r\n updateRows,\r\n\r\n documentsUpdated() {\r\n console.log('documentsUpdated')\r\n },\r\n\r\n clear(field) {\r\n this.formData[field] = null\r\n\r\n if (field === 'startDate') {\r\n this.clearStartDate = true\r\n }\r\n\r\n if (field === 'endDate') {\r\n this.clearEndDate = true\r\n }\r\n\r\n if (field === 'terminationDate') {\r\n this.clearTerminationDate = true\r\n }\r\n },\r\n\r\n clearFormErrors() {\r\n const DEFAULT_FORM_ERRORS = this.DEFAULT_FORM_ERRORS\r\n this.formErrors = {\r\n ...DEFAULT_FORM_ERRORS\r\n }\r\n },\r\n\r\n openDocumentModal({ id }) {\r\n this.$refs.documentModal.open({\r\n id\r\n })\r\n this.loading = false\r\n },\r\n\r\n async resetForm() {\r\n this.loading = true\r\n\r\n const DEFAULT_FORM_VALUES = this.DEFAULT_FORM_VALUES\r\n this.formData = {\r\n ...DEFAULT_FORM_VALUES\r\n }\r\n\r\n this.clearFormErrors()\r\n\r\n if (this.$refs.form) {\r\n this.$refs.form.reset()\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n setClass(leaseID) {\r\n if (this.isDebug == true) console.debug('...setClass=' + leaseID)\r\n\r\n if (this.selectedLeaseID == leaseID) {\r\n if (this.isDebug == true) console.debug('true')\r\n return 'is-selected'\r\n } else {\r\n if (this.isDebug == true) console.debug('false')\r\n return ''\r\n }\r\n },\r\n\r\n updateSelected({ id, list }) {\r\n try {\r\n this.selectedLease = this[list].find(v => {\r\n return v.leaseID === id\r\n })\r\n } catch (exception) {\r\n console.error(exception)\r\n }\r\n },\r\n\r\n initButtons() {\r\n this.selectedID = null\r\n this.formShow = false\r\n this.action = ''\r\n this.formData.LeaseTenantID = 0\r\n },\r\n\r\n showFormValidationErrors,\r\n\r\n // Lease methods\r\n confirmDeleteLease(id) {\r\n this.$buefy.dialog.confirm({\r\n title: 'Deleting Lease',\r\n message: `Are you sure you want to delete this lease ID: ${id}?`,\r\n confirmText: 'Delete Lease',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: () => this.deleteLease(id)\r\n })\r\n },\r\n\r\n openAddLeaseModal() {\r\n this.resetForm()\r\n this.selectedID = null\r\n this.action = 'add'\r\n this.formData.LeaseTenantID = 0\r\n this.showLeaseModal = true\r\n },\r\n\r\n getPayloadLease() {\r\n if (this.isDebug == true) console.debug('this.formData=' + JSON.stringify(this.formData))\r\n\r\n let problem = ''\r\n\r\n const startDate = this.formData.startDate\r\n if (typeof startDate !== 'string') {\r\n problem = 'Start Date is required.'\r\n this.$set(this.formErrors, 'startDate', 'The start date is required.')\r\n return null\r\n }\r\n\r\n const endDate = this.formData.endDate\r\n if (typeof endDate !== 'string') {\r\n problem += ' End Date is required.'\r\n this.$set(this.formErrors, 'endDate', 'The end date is required.')\r\n return null\r\n }\r\n\r\n const terminationDate = this.formData.terminationDate\r\n\r\n if (problem != '') {\r\n notifyProblem(problem)\r\n return null\r\n }\r\n\r\n const payload = {\r\n // _get 0 (falsy) -> default value\r\n leaseID: this.formData.leaseID,\r\n startDate,\r\n endDate,\r\n terminationDate,\r\n notes: _get(this, ['formData', 'Notes'], null),\r\n unitID: this.unitID\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 loadLease() {\r\n this.resetForm()\r\n this.selectedID = null\r\n this.formShow = !this.formShow\r\n this.action = this.action == '' ? 'add' : ''\r\n this.action === 'add' ? (this.clearTerminationDate = true) : false\r\n this.formData.LeaseTenantID = 0\r\n },\r\n\r\n loadUpdateLease(id) {\r\n if (this.isDebug == true) console.debug('loadUpdateLeaseID=' + id)\r\n\r\n this.formShow = false\r\n this.action = ''\r\n this.selectedID = null\r\n\r\n if (this.selectedLease && this.selectedLease != undefined) {\r\n this.formData.leaseID = _get(this, ['selectedLease', 'leaseID'], null)\r\n this.formData.Notes = this.selectedLease.notes\r\n\r\n this.formData.startDate = _get(this, ['selectedLease', 'startDate'], null)\r\n this.formData.endDate = _get(this, ['selectedLease', 'endDate'], null)\r\n this.formData.terminationDate = _get(this, ['selectedLease', 'terminationDate'], null)\r\n\r\n if (!this.formData.terminationDate && this.action === 'update') {\r\n this.clearTerminationDate = false\r\n }\r\n }\r\n\r\n this.selectedID = id\r\n this.formShow = true\r\n this.action = 'update'\r\n this.formData.LeaseTenantID = 0\r\n\r\n this.showLeaseModal = true\r\n },\r\n\r\n // Lease API calls\r\n async onFormSubmit() {\r\n await this.addLease()\r\n },\r\n\r\n async addLease() {\r\n if (this.isDebug == true) console.debug('in addLease unitID=' + this.unitID)\r\n\r\n const { unitID } = this\r\n const parsedUnitID = dataToInteger(unitID)\r\n\r\n if (typeof parsedUnitID !== 'number' || parsedUnitID <= 0) {\r\n notifyProblem('Unable to add this lease.')\r\n return\r\n }\r\n\r\n try {\r\n this.loading = true\r\n\r\n const leasePayload = this.getPayloadLease()\r\n if (leasePayload === null) {\r\n console.error(leasePayload)\r\n notifyProblem('Unable to add this lease.')\r\n this.loading = false\r\n return\r\n }\r\n\r\n const results = await this.kms.post(`/Lease/Lease`, leasePayload)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n const leaseID = results.leaseID\r\n\r\n if (leaseID && leaseID > 0) {\r\n this.formComplete = true\r\n this.resetForm()\r\n this.getRefreshedLeases()\r\n notifyMessage(`Successfully added lease.`)\r\n this.showLeaseModal = false\r\n } else {\r\n notifyProblem('There was a problem adding the new lease.')\r\n }\r\n } catch (e) {\r\n notifyProblem(e)\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n async updateLease() {\r\n if (!this.formData || !this.unitID) {\r\n notifyProblem('Unable to update this lease.')\r\n return\r\n }\r\n\r\n try {\r\n this.loading = true\r\n\r\n const results = await this.kms.put(`/Lease/Lease`, this.getPayloadLease())\r\n\r\n if (this.isDebug == true) console.debug(JSON.stringify(results))\r\n\r\n if (results && results.leaseID >= 0) {\r\n this.formComplete = true\r\n this.resetForm()\r\n this.getRefreshedLeases()\r\n\r\n notifyMessage(`The selected lease was successfully updated.`)\r\n\r\n this.showLeaseModal = false\r\n } else {\r\n notifyProblem('There was a problem updating this lease.')\r\n }\r\n } catch (e) {\r\n notifyProblem(e)\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n async deleteLease(id) {\r\n if (id <= 0) {\r\n notifyProblem('Unable to delete this lease.')\r\n return\r\n }\r\n\r\n try {\r\n this.loading = true\r\n const data = { leaseID: id, forceDelete: false }\r\n const path = `/Lease/Lease/${id}?forceDelete=false`\r\n const results = await this.kms.delete(path, data)\r\n\r\n if (this.isDebug == true) console.debug(JSON.stringify(results))\r\n\r\n if (results.recordID >= 0) {\r\n this.formComplete = true\r\n\r\n this.getRefreshedLeases()\r\n\r\n notifyMessage(`The selected lease was successfully deleted.`)\r\n } else {\r\n notifyProblem('There was a problem deleting this lease.')\r\n }\r\n } catch (e) {\r\n notifyProblem(e)\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n async getRefreshedLeases() {\r\n if (this.unitID && this.unitID != undefined) {\r\n const params = {\r\n hoaID: this.hoaId,\r\n unitID: this.unitID\r\n }\r\n\r\n if (this.isDebug == true) console.debug('params=' + JSON.stringify(params))\r\n\r\n const { results } = await this.kms.get(`/Lease/Lease/List`, {\r\n params\r\n })\r\n\r\n this.leaseList = results.filter(i => i.terminationDate == null)\r\n this.terminatedLeaseList = results.filter(i => i.terminationDate != null)\r\n this.formData.LeaseTenantID = 0\r\n\r\n if (this.isDebug == true && 1 == 2) console.debug('results=' + JSON.stringify(this.leaseList))\r\n\r\n this.initButtons()\r\n }\r\n },\r\n\r\n // Lease tenant methods\r\n confirmDeleteLeaseTenant(id, name) {\r\n this.$buefy.dialog.confirm({\r\n title: 'Deleting Lease Tenant',\r\n message: `Are you sure you want to delete this lease Tenant: ${name}?`,\r\n confirmText: 'Delete Lease Tenant',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: () => this.deleteLeaseTenant(id)\r\n })\r\n },\r\n\r\n openTenantModal({ leaseID }) {\r\n this.resetForm()\r\n this.selectedID = null\r\n // this.formShow = !this.formShow\r\n // this.action = this.action == '' ? 'addtenant' : ''\r\n\r\n this.action = 'addtenant'\r\n this.formData.LeaseTenantID = 0\r\n // this.formData.LeaseID = leaseID ? leaseID : this.selectedLeaseID\r\n this.formData.LeaseID = leaseID\r\n\r\n this.showTenantModal = true\r\n },\r\n\r\n getPayloadTenant() {\r\n if (this.isDebug == true) console.debug('this.formData=' + JSON.stringify(this.formData))\r\n\r\n let notifyMessage = ''\r\n if (!this.formData.LeaseTenantName || this.formData.LeaseTenantName == undefined) {\r\n notifyMessage = 'Lease Tenant Name is required.'\r\n }\r\n\r\n if (!this.formData.LeaseID || this.formData.LeaseID == undefined) {\r\n notifyMessage += 'Lease ID is required.'\r\n }\r\n\r\n if (notifyMessage != '') {\r\n notifyProblem(notifyMessage)\r\n return\r\n }\r\n\r\n var email = _get(this, ['formData', 'LeaseTenantEmail'], null)\r\n if (typeof email === 'string') {\r\n email = email.toLowerCase()\r\n }\r\n\r\n const payload = {\r\n leaseTenantID: this.formData.LeaseTenantID,\r\n // leaseID: _get (this, [ 'formData', 'LeaseID' ],)\r\n leaseID:\r\n this.formData.LeaseID && this.formData.LeaseID != undefined && this.formData.LeaseID > 0\r\n ? this.formData.LeaseID\r\n : this.selectedLeaseID,\r\n name: _get(this, ['formData', 'LeaseTenantName'], null),\r\n email,\r\n phone: _get(this, ['formData', 'LeaseTenantPhone'], 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 loadUpdateLeaseTenant(id, tenant) {\r\n this.resetForm()\r\n\r\n this.selectedLeaseTenant = tenant\r\n\r\n if (tenant && tenant != undefined) {\r\n this.formData.LeaseTenantID = id\r\n this.formData.LeaseID = tenant.leaseID\r\n this.formData.LeaseTenantName = tenant.name\r\n this.formData.LeaseTenantEmail = tenant.email\r\n this.formData.LeaseTenantPhone = tenant.phone\r\n\r\n if (this.isDebug == true)\r\n console.debug('loadUpdateLeaseTenantID=' + id + ' tenant=' + JSON.stringify(this.formData))\r\n }\r\n\r\n this.selectedID = id\r\n this.formShow = true\r\n this.action = 'updatetenant'\r\n\r\n this.showTenantModal = true\r\n },\r\n\r\n // Lease tenant API calls\r\n async addLeaseTenant() {\r\n const LeaseID = this.formData.LeaseID\r\n\r\n if (typeof LeaseID !== 'number') {\r\n notifyProblem('The lease tenant could not be added.')\r\n return\r\n }\r\n\r\n try {\r\n this.loading = true\r\n\r\n let results = null\r\n try {\r\n results = await this.kms.post(`/LeaseTenant/LeaseTenant`, this.getPayloadTenant())\r\n } catch (exception) {\r\n this.showFormValidationErrors({\r\n exception\r\n })\r\n\r\n this.loading = false\r\n\r\n return\r\n }\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (results.leaseTenantID && results.leaseTenantID > 0) {\r\n this.formComplete = true\r\n this.resetForm()\r\n this.getRefreshedLeases()\r\n notifyMessage(`Successfully added lease tenant.`)\r\n\r\n this.showTenantModal = false\r\n } else {\r\n notifyProblem('There was a problem adding the new lease tenant.')\r\n }\r\n } catch (e) {\r\n notifyProblem(e)\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n async updateLeaseTenant() {\r\n if (!this.formData || !this.formData.LeaseTenantID || this.formData.LeaseTenantID <= 0) {\r\n notifyProblem('Unable to update this lease tenant.')\r\n return\r\n }\r\n\r\n try {\r\n this.loading = true\r\n\r\n // const results = await this.kms.put(`/LeaseTenant/LeaseTenant`, this.getPayloadTenant())\r\n\r\n let results = null\r\n try {\r\n results = await this.kms.put(`/LeaseTenant/LeaseTenant`, this.getPayloadTenant())\r\n } catch (exception) {\r\n this.showFormValidationErrors({\r\n exception\r\n })\r\n\r\n this.loading = false\r\n\r\n return\r\n }\r\n\r\n if (this.isDebug == true) console.debug(JSON.stringify(results))\r\n\r\n if (results && results.leaseTenantID >= 0) {\r\n this.formComplete = true\r\n this.resetForm()\r\n this.getRefreshedLeases()\r\n\r\n notifyMessage(`The selected lease tenant was successfully updated.`)\r\n\r\n this.showTenantModal = false\r\n } else {\r\n notifyProblem('There was a problem updating this lease tenant.')\r\n }\r\n } catch (e) {\r\n notifyProblem(e)\r\n }\r\n this.loading = false\r\n },\r\n\r\n async deleteLeaseTenant(id) {\r\n if (id <= 0) {\r\n notifyProblem('Unable to delete this lease tenant.')\r\n return\r\n }\r\n\r\n try {\r\n this.loading = true\r\n const data = { leaseTenantID: id, forceDelete: false }\r\n const path = `/LeaseTenant/LeaseTenant/${id}?forceDelete=false`\r\n const results = await this.kms.delete(path, data)\r\n\r\n if (this.isDebug == true) console.debug(JSON.stringify(results))\r\n\r\n if (results.recordID >= 0) {\r\n this.formComplete = true\r\n\r\n this.getRefreshedLeases()\r\n\r\n notifyMessage(`The selected lease tenant was successfully deleted.`)\r\n } else {\r\n notifyProblem('There was a problem deleting this lease tenant.')\r\n }\r\n } catch (e) {\r\n notifyProblem(e)\r\n }\r\n\r\n this.loading = false\r\n }\r\n}\r\n","export function mounted() {\r\n // unitTestID for testing purposes\r\n // there's probably a better way to mock this though...\r\n this.unitID = this.$route.params.id || this.unitTestID\r\n this.getRefreshedLeases()\r\n\r\n if (this.isDebug == true) {\r\n console.debug('mounted unitID=' + this.unitID)\r\n }\r\n\r\n this.resetForm()\r\n}\r\n","export const watch = {\r\n hoaId() {\r\n this.getRefreshedLeases()\r\n },\r\n selectedRow(row) {\r\n if (this.isDebug == true) console.debug('selected', { row })\r\n\r\n if (row && row != undefined) {\r\n this.formData.leaseID = row.leaseID\r\n this.formData.StartDate = new Date(this.formatDateFn(row.startDate))\r\n this.formData.EndDate = new Date(this.formatDateFn(row.endDate))\r\n this.formData.TerminationDate = new Date(this.formatDateFn(row.terminationDate))\r\n this.formData.Notes = row.notes\r\n }\r\n\r\n if (this.isDebug == true)\r\n console.debug('update formData values=' + JSON.stringify(this.formData))\r\n },\r\n activeTab() {\r\n if (this.activeTab === 0) {\r\n this.updateRows({\r\n table: 'activeTable',\r\n list: 'leaseList'\r\n })\r\n } else if (this.activeTab === 1) {\r\n this.updateRows({\r\n table: 'terminatedTable',\r\n list: 'terminatedLeaseList'\r\n })\r\n }\r\n },\r\n leaseList() {\r\n if (this.activeTab === 0) {\r\n this.updateRows({\r\n table: 'activeTable',\r\n list: 'leaseList'\r\n })\r\n }\r\n },\r\n terminatedLeaseList() {\r\n if (this.activeTab === 1) {\r\n this.updateRows({\r\n table: 'terminatedTable',\r\n list: 'terminatedLeaseList'\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!./Information.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!./Information.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Information.vue?vue&type=template&id=6bcff6a4&\"\nimport script from \"./Information.vue?vue&type=script&lang=js&\"\nexport * from \"./Information.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","!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","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&\"","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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ModernTable',{attrs:{\"region\":_vm.priorOwnersTable.region,\"filters\":_vm.priorOwnersTable.filters,\"rows\":_vm.list,\"columns\":_vm.priorOwnersTable.columns,\"headerColor\":\"#FFF\",\"condensed\":\"\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n example:\r\n import { getList } from '@/services/Roster/Owner/getList';\r\n\r\n const { owners, exception } = await getList ({\r\n unitID\r\n });\r\n if (exception) {\r\n console.error (exception);\r\n return;\r\n }\r\n*/\r\n\r\n/*\r\n possible structure\r\n\r\n {\r\n HOAs: {\r\n\r\n // hoa id\r\n 0: {\r\n\r\n // unit id\r\n 0: {\r\n owners: []\r\n }\r\n }\r\n }\r\n }\r\n*/\r\n//\r\nimport kms from '@/services/kms'\r\nimport _get from 'lodash/get'\r\n//\r\nexport async function getList({ unitID, kms: kms_ = kms } = {}) {\r\n var result = {}\r\n try {\r\n result = await kms_.get(`/Roster/Owner/List`, {\r\n params: {\r\n unitID,\r\n includeDeleted: false\r\n }\r\n })\r\n } catch (exception) {\r\n console.error(exception)\r\n\r\n return {\r\n owners: [],\r\n exception\r\n }\r\n }\r\n\r\n return {\r\n owners: _get(result, 'results', []),\r\n exception: null\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!./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=a067364e&scoped=true&\"\nimport script from \"./Main.vue?vue&type=script&lang=js&\"\nexport * from \"./Main.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Main.vue?vue&type=style&index=0&id=a067364e&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 \"a067364e\",\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!./Main.vue?vue&type=style&index=0&id=a067364e&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!./Main.vue?vue&type=style&index=0&id=a067364e&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"toggle\":_vm.isOpen,\"classes\":\"pdf-modal\"},on:{\"update:toggle\":function($event){_vm.isOpen=$event}}},[(_vm.pdfTitle)?_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.pdfTitle))]):_vm._e(),_c('div',[_c('pdf',{staticStyle:{\"display\":\"none\"},attrs:{\"src\":_vm.src},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.src,\"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)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const methods = {\r\n open({ src }) {\r\n this.src = src\r\n this.isOpen = true\r\n },\r\n\r\n setTitle({ pdfTitle }) {\r\n this.pdfTitle = pdfTitle\r\n },\r\n\r\n zoom(direction) {\r\n const amt = Math.sqrt(2)\r\n if (direction > 0) {\r\n this.scale *= amt\r\n } else {\r\n this.scale /= amt\r\n }\r\n\r\n // constrain to min/max\r\n this.scale = Math.max(0.5, Math.min(4, this.scale))\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=bc77efe2&\"\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',{ref:\"uploader\",staticClass:\"PDFUploader\",attrs:{\"pdf-uploader\":\"\"}},[_c('b-upload',{attrs:{\"multiple\":_vm.multiple,\"drag-drop\":\"\",\"expanded\":\"\",\"accept\":\"application/pdf\"},model:{value:(_vm.attachments),callback:function ($$v) {_vm.attachments=$$v},expression:\"attachments\"}},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-centered\"},[_c('p',[_c('b-icon',{attrs:{\"icon\":\"upload\",\"size\":\"is-large\"}})],1),_vm._t(\"default\"),(_vm.multiple)?_c('p',[_vm._v(\"Drop the PDFs here or click to choose.\")]):_vm._e(),(!_vm.multiple)?_c('div',[(Array.isArray(_vm.pdfs) && _vm.pdfs.length === 1)?_c('p',[_vm._v(\" To replace the selected PDF, Drop another PDF here or click to choose. \")]):_c('p',[_vm._v(\"Drop a PDF here or click to choose.\")])]):_vm._e()],2)])]),(_vm.multiple)?_c('div',{style:({ padding: '8px' })},[_vm._v(\" \"+_vm._s(_vm.attachments.length)+\" PDF's selected for upload \")]):_vm._e(),_c('div',{style:({ position: 'relative', display: 'flex', flexWrap: 'wrap', width: '100%' })},[_vm._l((_vm.pdfs),function(pdf,index){return _c('div',_vm._g({key:index,style:(Object.assign({}, (typeof _vm.pdfOnClick === 'function' ? { cursor: 'pointer' } : {}),\n {position: 'relative',\n display: 'flex',\n alignItems: 'center',\n width: '200px',\n height: '200px',\n overflow: 'hidden',\n background: _vm.palette.tile,\n borderRadius: '4px',\n margin: '10px',\n boxShadow: (\"0 0 4px 1px \" + (_vm.palette.tileShadow))}))},\n typeof _vm.pdfOnClick === 'function'\n ? {\n click: function () {\n _vm.pdfOnClick({ index: index, pdf: pdf })\n }\n }\n : {}\n ),[_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,ref:'pdf-' + index,refInFor:true,style:({\n margin: 'auto',\n width: ((100 * 1) + \"%\"),\n opacity: _vm.loading ? 0 : 1,\n transition: _vm.transition ? '.2s opacity' : ''\n }),attrs:{\"src\":pdf,\"scale\":1,\"resize\":true,\"page\":index + 1}})}),_c('button',{staticClass:\"delete is-medium\",style:({\n position: 'absolute',\n top: '10px',\n right: '10px'\n }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteAttachment(index)}}})],2)}),_c('b-loading',{attrs:{\"is-full-page\":false},model:{value:(_vm.loading),callback:function ($$v) {_vm.loading=$$v},expression:\"loading\"}})],2)],1)}\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=161b617a&\"\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","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&\""],"sourceRoot":""}