{"version":3,"sources":["webpack:///./src/pages/Management/boardMeetings/List/index.vue?6a30","webpack:///./src/pages/Management/boardMeetings/AdderModal/index.vue?c743","webpack:///src/pages/Management/boardMeetings/AdderModal/index.vue","webpack:///./src/pages/Management/boardMeetings/AdderModal/index.vue?609e","webpack:///./src/pages/Management/boardMeetings/AdderModal/index.vue","webpack:///./src/pages/Management/boardMeetings/List/keys/computed.js","webpack:///./src/pages/Management/boardMeetings/List/keys/data.js","webpack:///./src/services/BoardMeetings/BoardPackage/Delete.js","webpack:///./src/pages/Management/boardMeetings/List/keys/methods.js","webpack:///./src/pages/Management/boardMeetings/List/keys/watch.js","webpack:///src/pages/Management/boardMeetings/List/index.vue","webpack:///./src/pages/Management/boardMeetings/List/index.vue?5563","webpack:///./src/pages/Management/boardMeetings/List/index.vue","webpack:///./src/utilities/Date/parse.js","webpack:///./src/services/BoardMeetings/BoardPackage/List.js","webpack:///./src/components/buttons/Buefy/index.vue?e217","webpack:///src/components/buttons/Buefy/index.vue","webpack:///./src/components/buttons/Buefy/index.vue?f1e2","webpack:///./src/components/buttons/Buefy/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","on","$event","$refs","adderModal","open","_v","columns","rows","show","loading","ref","close","staticRenderFns","toggle","modalContent","minHeight","scopedSlots","_u","key","fn","proxy","staticClass","style","marginLeft","float","add","components","Modal","Detail","data","meetingTypes","props","_close","Function","methods","console","log","computed","mapState","hoaId","state","user","selectedHoaId","breakpoint","win","field","label","numeric","sortable","searchable","date","list","eraseBoardMeeting","boardPackageID","exception","kms","delete","result","successful","message","phoneMeeting","notifyError","refresh","getList","listBoardPackages","params","hoaID","erase","confirmDelete","details","$buefy","dialog","confirm","title","confirmText","type","hasIcon","onConfirm","watch","component","map","entry","id","parseInt","_get","meetingDate","parseDate","meetingType","financialMonth","time","SimpleButton","to","name","query","mode","text","edit","BuefyButton","click","isRounded","PageContentLayoutOnly","AdderModal","ModernTable","mounted","format","debug","parsed","moment","isValid","error","get","numberOf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AW,IAC9BuD,MAAMC,QAAQ9D,KACjBA,EAAO,IAbN,kBAgBI,CACLO,YAAY,EACZC,UACAR,SAnBC,qCAsBHhB,QAAQ0E,MAAR,MAtBG,iCAyBE,CACLnD,YAAY,EACZC,UACAR,KAAM,KA5BH,0D,8DCnBP,IAAI3D,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,WAAW,CAACwB,YAAY,yDAAyDrB,GAAG,CAAC,MAAQP,EAAIyG,QAAQ,CAACzG,EAAIY,GAAGZ,EAAIyH,GAAGzH,EAAIsG,UAC3NnF,EAAkB,GCatB,GACEmB,MAAO,CACLmE,MAAOjE,SACP8D,KAAMoB,OACNxC,KAAM,CACJA,KAAMwC,OACNC,QAAS,cAEXjB,UAAW,CACTxB,KAAM0C,QACND,SAAS,KCxB8V,I,YCOzWrC,EAAY,eACd,EACAvF,EACAoB,GACA,EACA,KACA,KACA,MAIa,OAAAmE,E","file":"js/boardMeetings.list.f588fcb7.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',[_c('b-button',{attrs:{\"rounded\":\"\",\"type\":\"is-primary\"},on:{\"click\":function($event){return _vm.$refs.adderModal.open()}}},[_vm._v(\"Add Board Meeting\")]),_c('ModernTable',{attrs:{\"data-id\":\"meetings table\",\"columns\":_vm.columns,\"rows\":_vm.rows,\"filters\":{\n show: true\n },\"loading\":_vm.loading}}),_c('AdderModal',{ref:\"adderModal\",attrs:{\"_close\":_vm.close}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"toggle\":_vm.toggle,\"styles\":{ modalContent: { minHeight: '100px' } }},on:{\"update:toggle\":function($event){_vm.toggle=$event}},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_vm._v(\"Add Board Meeting\")]},proxy:true},{key:\"footer\",fn:function(){return [_c('b-button',{staticClass:\"is-primary\",style:({ marginLeft: '20px', float: 'right' }),on:{\"click\":_vm.add}},[_vm._v(\"Add\")]),_c('b-button',{staticClass:\"is-primary\",on:{\"click\":function($event){_vm.toggle = false}}},[_vm._v(\"Cancel\")])]},proxy:true}])},[_c('Detail',{ref:\"meetingDetail\",attrs:{\"adderModal\":true,\"editMode\":true,\"close\":_vm.close}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=64186e18&\"\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 { mapState } from 'vuex'\r\n\r\nexport const computed = {\r\n ...mapState({\r\n hoaId: state => state.user.selectedHoaId,\r\n breakpoint: state => state.win.breakpoint\r\n })\r\n}\r\n","export function data() {\r\n return {\r\n loading: false,\r\n //\r\n rows: [],\r\n columns: [\r\n {\r\n field: 'id',\r\n label: 'ID',\r\n numeric: true,\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'meetingDate',\r\n label: 'Meeting Date',\r\n date: true,\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'meetingType',\r\n label: 'Type',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'financialMonth',\r\n label: 'Financial Month',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'time',\r\n label: 'Time of Meeting',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'open'\r\n },\r\n {\r\n field: 'edit'\r\n },\r\n {\r\n field: 'delete'\r\n }\r\n ],\r\n //\r\n list: [],\r\n toggle: false\r\n }\r\n}\r\n","/*\r\n\timport { eraseBoardMeeting } from '@/services/BoardMeetings/BoardPackage/Delete';\r\n\r\n const { successful } = await eraseBoardMeeting ({\r\n boardPackageID\r\n });\r\n*/\r\n\r\n/*\r\n\r\n*/\r\n\r\nimport kms from '@/services/kms'\r\nimport { notifyError } from '@/services/notify'\r\n\r\nexport async function eraseBoardMeeting({ boardPackageID }) {\r\n let exception = ''\r\n\r\n try {\r\n const result = await kms.delete(`/BoardMeetings/BoardPackage/${boardPackageID}`)\r\n\r\n return {\r\n successful: true,\r\n message: 'The board meeting was deleted successfully.',\r\n exception: null,\r\n phoneMeeting: result\r\n }\r\n } catch (_exception) {\r\n exception = _exception\r\n }\r\n\r\n let message = 'A problem occurred and the board meeting could not be deleted.'\r\n notifyError(message)\r\n\r\n return {\r\n successful: false,\r\n message,\r\n exception,\r\n phoneMeeting: null\r\n }\r\n}\r\n","import { notifyError } from '@/services/notify'\r\nimport { listBoardPackages } from '@/services/BoardMeetings/BoardPackage/List'\r\nimport { eraseBoardMeeting } from '@/services/BoardMeetings/BoardPackage/Delete'\r\n\r\nexport const methods = {\r\n async refresh() {\r\n this.loading = true\r\n\r\n await this.getList()\r\n\r\n this.loading = false\r\n },\r\n\r\n close() {\r\n this.refresh()\r\n },\r\n\r\n async getList() {\r\n const { list, successful, message } = await listBoardPackages({\r\n params: {\r\n hoaID: this.hoaId\r\n }\r\n })\r\n if (!successful) {\r\n notifyError(message)\r\n return\r\n }\r\n\r\n this.list = list\r\n },\r\n\r\n async erase({ boardPackageID }) {\r\n this.loading = true\r\n\r\n await eraseBoardMeeting({\r\n boardPackageID\r\n })\r\n\r\n await this.refresh()\r\n\r\n this.loading = false\r\n },\r\n\r\n confirmDelete({ details }) {\r\n const { boardPackageID } = details\r\n\r\n this.$buefy.dialog.confirm({\r\n title: 'Deleting Board Meeting',\r\n message: `Are you sure you want to delete the board meeting #${boardPackageID}? This action cannot be undone.`,\r\n confirmText: 'Delete Board Meeting',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: () => {\r\n this.erase({ boardPackageID })\r\n }\r\n })\r\n }\r\n}\r\n","import { parseDate } from '@/utilities/Date/parse'\r\nimport _get from 'lodash/get'\r\nimport SimpleButton from '@/components/buttons/Simple'\r\nimport BuefyButton from '@/components/buttons/Buefy'\r\n\r\nexport const watch = {\r\n hoaId() {\r\n this.refresh()\r\n },\r\n list(list) {\r\n const component = this\r\n\r\n this.rows = list.map(entry => {\r\n return {\r\n id: parseInt(_get(entry, 'boardPackageID', '')),\r\n\r\n meetingDate: parseDate(_get(entry, 'meetingDate', ''), 'LL'),\r\n meetingType: _get(entry, 'type', ''),\r\n financialMonth: parseDate(_get(entry, 'financialMonth', ''), 'MMMM YYYY'),\r\n time: parseDate(_get(entry, 'meetingDate', ''), 'h:mm a'),\r\n\r\n open: {\r\n component: SimpleButton,\r\n props: {\r\n to: {\r\n name: 'boardMeetingDetails',\r\n params: {\r\n id: _get(entry, 'boardPackageID', '')\r\n },\r\n query: {\r\n mode: 'open'\r\n }\r\n },\r\n text: 'Details'\r\n }\r\n },\r\n\r\n edit: {\r\n component: SimpleButton,\r\n props: {\r\n to: {\r\n name: 'boardMeetingDetails',\r\n params: {\r\n id: _get(entry, 'boardPackageID', '')\r\n },\r\n query: {\r\n mode: 'edit'\r\n }\r\n },\r\n text: 'Edit'\r\n }\r\n },\r\n\r\n erase: {\r\n component: BuefyButton,\r\n props: {\r\n click: function() {\r\n component.confirmDelete({ details: entry })\r\n },\r\n type: 'is-danger',\r\n text: 'Delete',\r\n isRounded: true\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=bd9eb15e&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\r\n Example:\r\n import { 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","/*\r\n import { notifyError } from '@/services/notify'\r\n\r\n\timport { listBoardPackages } from '@/services/BoardMeetings/BoardPackage/List';\r\n\r\n const { list, successful, message } = await listBoardPackages ({\r\n params: {\r\n\t\t\thoaID\r\n }\r\n });\r\n if (!successful) {\r\n notifyError (message);\r\n return;\r\n }\r\n*/\r\n\r\nimport _get from 'lodash/get'\r\nimport kms from '@/services/kms'\r\n\r\nexport async function listBoardPackages({ params }) {\r\n let message = 'The board meetings list could not be retrieved.'\r\n\r\n try {\r\n const result = await kms.get(`/BoardMeetings/BoardPackage/List`, {\r\n params: {\r\n hoaID: params.hoaID,\r\n numberOfMonthsBack: params.numberOfMonthsBack ? params.numberOfMonthsBack : null\r\n }\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":_vm.click}},[_vm._v(_vm._s(_vm.text))])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=19458b68&\"\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"],"sourceRoot":""}