{"version":3,"sources":["webpack:///./src/utilities/Date/parse.js","webpack:///./src/components/inputs/DatePicker/index.vue?acb0","webpack:///./src/services/BoardActionItems/store.js","webpack:///./src/pages/Management/actionItems/details/tabs/actionItemDetails/index.vue?ca3b","webpack:///./src/pages/Management/actionItems/details/tabs/actionItemDetails/keys/data.js","webpack:///./src/pages/Management/actionItems/details/tabs/actionItemDetails/keys/methods.js","webpack:///src/pages/Management/actionItems/details/tabs/actionItemDetails/index.vue","webpack:///./src/pages/Management/actionItems/details/tabs/actionItemDetails/index.vue?079c","webpack:///./src/pages/Management/actionItems/details/tabs/actionItemDetails/index.vue","webpack:///./src/components/inputs/DatePicker/index.vue?f395","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"],"names":["parseDate","date","format","console","debug","parsed","moment","isValid","exception","message","error","isDebug","actions","getActionItemList","hoaID","sourceBoardPackageID","log","kms","get","params","results","JSON","stringify","list","notifyProblem","getActionItemStatusList","getActionItemPriorityList","getBoardPackagesList","getActionItemById","actionItemID","actionItem","result","updateActionItem","dispatch","payload","done","put","undefined","notifyMessage","notifyError","addActionItem","post","actionItemStatusID","actionItemPriorityID","title","description","assignedToAspNetUserID","completedBy","completedDate","completeByDate","Vue","use","Vuex","actionItemStore","Store","state","mutations","getters","render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","ref","scopedSlots","_u","key","fn","handleSubmit","on","$event","preventDefault","onFormSubmit","viewOnly","model","value","formData","callback","$$v","$set","expression","_l","option","domProps","_v","_s","label","_e","actionItemStatusIdDone","staticStyle","errors","staticRenderFns","field","width","display","paddingRight","textAlign","data","formComplete","loading","openOnFocus","isFetching","actionItemTitle","actionItemStatusList","actionItemPriorityList","sourceBoardPackagesList","formatDateFn","toString","styles","filterButton","float","marginTop","amountField","Object","assign","DEFAULT_FORM_VALUES","assignedTo","sourceBoardPackage","methods","toggleFilters","filters","show","reload","dateFormat","$route","id","viewonly","loadActionItemStatus","loadActionItemPriority","loadSourceBoardPackages","loadActionItemByID","then","_get","completeByDateTemp","newDate","Date","$refs","completeByDateComponent","selected","e","loadCompletedDateComponent","completedDateTemp","completedDateComponent","chooseBoardPackage","hoaId","map","m","type","meetingDate","boardPackageID","name","actionItemStatusIdDoneTemp","filter","f","getPayload","loadingComponent","$buefy","open","container","close","components","ValidInput","ValidSelect","ValidationObserver","ValidationProvider","PageContentLayoutOnly","DatePicker","computed","created","mounted","watch","i18n","messages","en","actionItemDetail","component","class","focused","style","ariaLabel","fieldType","errorMessage","fields","border","borderRadius","onFocus","onBlur","proxy","ariaPrefix","month","day","year","months","monthField","dayField","yearField","testValidityDate","numericMonth","isValidDate","startEmpty","onUpdate","setValue2","dayOfMonth","setValue","dateString","length","today","updateValue","getValue","utcFormat","$emit","dateStr","ds","split","dszero","s","d","prototype","call","isNaN","getTime","getDate","getMonth","x","utcExtended","_year","parseInt","utc","advanced","combined","join","LL","allValid","dayString","extendedValid","props","String","default","Function","Boolean","menu","days","push","a","beforeMount"],"mappings":"gIAAA,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,yMCUzkBU,GAAU,EAGVC,EAAU,CAORC,kBAPQ,cAO+C,gLAA/BC,EAA+B,EAA/BA,MAAOC,EAAwB,EAAxBA,qBACnCZ,QAAQa,IAAI,2BAD+C,kBAG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AS,GAEXvD,OAAQ,CACNnC,KAAMlC,OACN4H,QAFN,WAGQ,MAAO,CACLG,MAAM,EACNjD,MAAM,EACNF,OAAO,EACPa,YAAY,MAKpBzG,KAAF,EAEEyE,MAAO,CACLhC,SAAU,SAAd,GACM,IAAIgE,EAAa,IAAvB,UACUb,EAAQ,IAAlB,kBACUQ,EAAe,IAAzB,gBACUN,EAAO,IAAjB,kBAEMvI,KAAKsI,IAAMY,EACXlJ,KAAKqI,MAAQA,EACbrI,KAAK6I,aAAeA,EACpB7I,KAAKuI,KAAOA,GAEdpH,MAAO,SAAX,GACMnB,KAAKmJ,SAAS,GACdnJ,KAAK0J,MAAM,sBAAuB,KAEpCpB,IAhBJ,WAiBMtI,KAAKuJ,eAEPlB,MAnBJ,WAoBMrI,KAAKuJ,eAEPV,aAtBJ,WAuBM7I,KAAKuJ,eAEPhB,KAzBJ,WA0BMvI,KAAKuJ,gBAGTxC,SAAU,CACRa,UADJ,WAEM,IAAN,oBAEM,MAA4B,kBAAjBC,GAA6BA,EAAawB,QAAU,EACtD,YAGF,IAEToC,KAAM,WAEJ,IADA,IAAIA,EAAO,GACjB,cACQA,EAAKC,KAAKC,GAGZ,OAAOF,IAGX3H,QAAF,EACE8H,YA7FF,WA8FI5L,KAAKmJ,SAASnJ,KAAKmB,SC7MsV,I,kCCSzWoG,EAAY,eACd,EACAzH,EACAqC,GACA,EACA,KACA,WACA,MAIa,OAAAoF,E","file":"js/actionitem.actionItemDetails.2a67fab5.js","sourcesContent":["/*\r\n Example:\r\n import { parseDate } from '@/utilities/Date/parse'\r\n\r\n const parsedDate = parseDate (date, 'LL');\r\n*/\r\nimport moment from 'moment'\r\n\r\nexport const parseDate = (date, format = 'LL') => {\r\n if (typeof date !== 'string') {\r\n console.debug(`parseDate can only parse a date string. got:`, { date })\r\n return date\r\n }\r\n\r\n try {\r\n const parsed = moment(date)\r\n if (parsed.isValid()) {\r\n date = moment(date).format(format)\r\n }\r\n } catch (exception) {\r\n if (exception && exception.message) {\r\n console.error(exception.message)\r\n } else {\r\n console.error(exception)\r\n }\r\n }\r\n\r\n return date\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=1&id=7e0642de&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=1&id=7e0642de&lang=scss&scoped=true&\"","/*\r\n import { actionItemStore } from '@/services/BoardActionItems/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await actionItemStore.dispatch ('getActionItemList', {\r\n hoaId\r\n });\r\n */\r\n\r\n async getActionItemList({}, { hoaID, sourceBoardPackageID }) {\r\n console.log('in getActionItemList...')\r\n try {\r\n const results = await kms.get('/BoardMeetings/ActionItem/List', {\r\n params: {\r\n hoaID,\r\n sourceBoardPackageID\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getActionItemList log=' + JSON.stringify(results))\r\n\r\n return {\r\n list: results.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The Board Action Items list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async getActionItemStatusList({}) {\r\n console.log('in getActionItemStatusList...')\r\n try {\r\n const results = await kms.get('/BoardMeetings/ActionItemStatus/List')\r\n\r\n if (isDebug == true) console.debug('getActionItemStatusList log=' + JSON.stringify(results))\r\n\r\n return {\r\n list: results.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The Board Action Item Status list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async getActionItemPriorityList({}) {\r\n console.log('in getActionItemPriorityList...')\r\n try {\r\n const results = await kms.get('/BoardMeetings/ActionItemPriority/List')\r\n\r\n if (isDebug == true) console.debug('getActionItemPriorityList log=' + JSON.stringify(results))\r\n\r\n return {\r\n list: results.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The Board Action Item Priority list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async getBoardPackagesList({}, { hoaID }) {\r\n console.log('in getBoardPackagesList...')\r\n try {\r\n const results = await kms.get('/BoardMeetings/BoardPackage/List', {\r\n params: {\r\n hoaID\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getBoardPackagesList log=' + JSON.stringify(results))\r\n\r\n return {\r\n list: results.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The Board Packages list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async getActionItemById({}, { actionItemID }) {\r\n try {\r\n console.debug('in getActionItemById...')\r\n const actionItem = await kms.get(`/BoardMeetings/ActionItem/${actionItemID}`)\r\n\r\n if (isDebug == true) console.debug('getActionItemById=' + JSON.stringify(actionItem))\r\n\r\n return {\r\n result: actionItem\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the action item.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n actionItem: {}\r\n }\r\n },\r\n\r\n // Update Action Item\r\n async updateActionItem({ dispatch }, { payload = {}, done }) {\r\n try {\r\n const results = await kms.put(`/BoardMeetings/ActionItem`, payload)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.actionItemID > 0) {\r\n notifyMessage(`Successfully updated the board action item.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem updating this board action item.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem processing the update for this board action item.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async addActionItem({ dispatch }, { payload, done }) {\r\n if (isDebug == true) console.debug('...in addActionItem')\r\n try {\r\n const results = await kms.post(`/BoardMeetings/ActionItem`, {\r\n actionItemID: payload.actionItemID,\r\n sourceBoardPackageID: payload.sourceBoardPackageID,\r\n actionItemStatusID: payload.actionItemStatusID,\r\n actionItemPriorityID: payload.actionItemPriorityID,\r\n title: payload.title,\r\n description: payload.description,\r\n assignedToAspNetUserID: payload.assignedToAspNetUserID,\r\n completedBy: payload.completedBy,\r\n completedDate: null,\r\n completeByDate: payload.completeByDate,\r\n hoaID: payload.hoaID\r\n })\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.actionItemID > 0) {\r\n notifyMessage(`Successfully added the action item.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem adding this action item.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this action item.`)\r\n console.error(exception)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const actionItemStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"headerColor\":\"#fafafa\"}},[(_vm.formData)?_c('div',{staticClass:\"notification headerColor\",attrs:{\"itemdetails\":\"\"}},[_c('div',{staticClass:\"box is-12\"},[_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onFormSubmit)}}},[_c('fieldset',[_c('div',{staticClass:\"columns\"},[(_vm.actionItemStatusList)?_c('div',{staticClass:\"column is-6\"},[_c('valid-select',{attrs:{\"label\":\"Status\",\"placeholder\":\"Status\",\"vid\":\"actionItemStatus\",\"aria-required\":\"The status is required\",\"rules\":\"required\",\"disabled\":_vm.viewOnly},model:{value:(_vm.formData.actionItemStatusID),callback:function ($$v) {_vm.$set(_vm.formData, \"actionItemStatusID\", $$v)},expression:\"formData.actionItemStatusID\"}},_vm._l((_vm.actionItemStatusList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1):_vm._e(),_c('div',{staticClass:\"column is-6\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Complete By Date\")]),_c('DatePicker',{ref:\"completeByDateComponent\",attrs:{\"ariaLabel\":\"Completion Date\"},model:{value:(_vm.formData.completeByDate),callback:function ($$v) {_vm.$set(_vm.formData, \"completeByDate\", $$v)},expression:\"formData.completeByDate\"}})],1)]),(_vm.actionItemStatusIdDone === _vm.formData.actionItemStatusID)?_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Completed By\",\"label\":\"Completed By\",\"type\":\"text\",\"vid\":\"CompletedBy\",\"placeholder\":\"Completed By\",\"spellcheck\":\"true\",\"aria-label\":\"Completed by\",\"disabled\":_vm.viewOnly},model:{value:(_vm.formData.completedBy),callback:function ($$v) {_vm.$set(_vm.formData, \"completedBy\", $$v)},expression:\"formData.completedBy\"}})],1),_c('div',{staticClass:\"column is-6\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Completed Date\")]),_c('DatePicker',{ref:\"completedDateComponent\",attrs:{\"readonly\":_vm.viewOnly,\"ariaLabel\":\"Completion Date\"},model:{value:(_vm.formData.completedDate),callback:function ($$v) {_vm.$set(_vm.formData, \"completedDate\", $$v)},expression:\"formData.completedDate\"}})],1)]):_vm._e(),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"AssignedTo\",\"label\":\"Assigned To\",\"type\":\"text\",\"vid\":\"Assigned To\",\"placeholder\":\"Assigned To\",\"spellcheck\":\"true\",\"aria-label\":\"Assigned To\",\"disabled\":true},model:{value:(_vm.formData.assignedTo),callback:function ($$v) {_vm.$set(_vm.formData, \"assignedTo\", $$v)},expression:\"formData.assignedTo\"}})],1),(_vm.sourceBoardPackagesList)?_c('div',{staticClass:\"column is-6\"},[_c('valid-select',{attrs:{\"label\":\"Source Board Package\",\"placeholder\":\"Source Board Package\",\"vid\":\"sourceBoardPackageID\",\"disabled\":_vm.viewOnly},model:{value:(_vm.formData.sourceBoardPackageID),callback:function ($$v) {_vm.$set(_vm.formData, \"sourceBoardPackageID\", $$v)},expression:\"formData.sourceBoardPackageID\"}},_vm._l((_vm.sourceBoardPackagesList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1):_vm._e()]),_c('div',{staticClass:\"columns\"},[(_vm.actionItemPriorityList)?_c('div',{staticClass:\"column is-6\"},[_c('valid-select',{attrs:{\"label\":\"Priority\",\"placeholder\":\"Priority\",\"vid\":\"actionItemPriority\",\"aria-required\":\"The priority is required\",\"rules\":\"required\",\"disabled\":_vm.viewOnly},model:{value:(_vm.formData.actionItemPriorityID),callback:function ($$v) {_vm.$set(_vm.formData, \"actionItemPriorityID\", $$v)},expression:\"formData.actionItemPriorityID\"}},_vm._l((_vm.actionItemPriorityList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1):_vm._e(),_c('div',{staticClass:\"column is-5\"},[_vm._v(\" \")])]),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Title\",\"label\":\"Title\",\"type\":\"text\",\"vid\":\"Title\",\"placeholder\":\"Title\",\"spellcheck\":\"true\",\"aria-label\":\"Title\",\"disabled\":_vm.viewOnly},model:{value:(_vm.formData.title),callback:function ($$v) {_vm.$set(_vm.formData, \"title\", $$v)},expression:\"formData.title\"}})],1)]),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Description\",\"label\":\"Description\",\"type\":\"textarea\",\"vid\":\"Description\",\"placeholder\":\"Description\",\"spellcheck\":\"true\",\"aria-label\":\"Description\",\"disabled\":_vm.viewOnly,\"rules\":\"required\"},model:{value:(_vm.formData.description),callback:function ($$v) {_vm.$set(_vm.formData, \"description\", $$v)},expression:\"formData.description\"}})],1)]),_c('div',[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"submit\",\"disabled\":_vm.viewOnly}},[_vm._v(\" Update \")])])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}],null,false,1688033881)})],1)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import moment from 'moment'\r\n\r\nvar field = {\r\n width: '100px',\r\n display: 'inline-block',\r\n paddingRight: '6px',\r\n textAlign: 'left'\r\n}\r\n\r\nexport const data = () => ({\r\n formComplete: false,\r\n formData: {},\r\n loading: true,\r\n isDebug: true,\r\n openOnFocus: true,\r\n isFetching: false,\r\n viewOnly: true,\r\n actionItemID: 0,\r\n actionItem: {},\r\n actionItemTitle: '',\r\n actionItemStatusList: [],\r\n actionItemStatusIdDone: 0,\r\n actionItemPriorityList: [],\r\n sourceBoardPackagesList: [],\r\n formatDateFn: function(value) {\r\n return value && value != undefined\r\n ? moment(value.toString(), 'YYYY/MM/DD HH:mm:ss')\r\n .format('MM-DD-YYYY')\r\n .toString()\r\n : ''\r\n },\r\n styles: {\r\n filterButton: {\r\n float: 'right',\r\n marginTop: '4px'\r\n },\r\n amountField: Object.assign({}, field, {\r\n width: '125px'\r\n })\r\n }\r\n})\r\n","import { actionItemStore } from '@/services/BoardActionItems/store'\r\nimport { parseDate } from '@/utilities/Date/parse'\r\nimport _get from 'lodash/get'\r\nimport { notifyError } from '@/services/notify'\r\nimport moment from 'moment'\r\n\r\nvar DEFAULT_FORM_VALUES = {\r\n actionItemStatusID: 0,\r\n actionItemPriorityID: 0,\r\n completedDate: null,\r\n completeByDate: null,\r\n completedBy: '',\r\n assignedTo: '',\r\n sourceBoardPackage: '',\r\n title: '',\r\n description: ''\r\n}\r\n\r\nexport const methods = {\r\n toggleFilters: function() {\r\n this.filters.show = !this.filters.show\r\n },\r\n\r\n async reload() {\r\n this.loading = true\r\n\r\n const dateFormat = 'MM/DD/YYYY hh:mm a'\r\n\r\n console.debug('route values=' + JSON.stringify(this.$route.params))\r\n\r\n this.actionItemID = this.$route.params.id\r\n\r\n this.actionItemTitle = this.$route.params.title\r\n this.viewOnly = this.$route.params.viewonly === 'true' ? true : false\r\n\r\n console.debug('viewOnly=' + this.viewOnly)\r\n\r\n this.formData = { ...DEFAULT_FORM_VALUES }\r\n\r\n await this.loadActionItemStatus()\r\n await this.loadActionItemPriority()\r\n await this.loadSourceBoardPackages()\r\n\r\n await this.loadActionItemByID()\r\n .then(() => {\r\n if (this.actionItem) {\r\n try {\r\n this.formData.actionItemStatusID = _get(this.actionItem, 'actionItemStatusID', 0)\r\n this.formData.actionItemPriorityID = _get(this.actionItem, 'actionItemPriorityID', 0)\r\n\r\n this.formData.completedBy = _get(this.actionItem, 'completedBy', '')\r\n\r\n this.formData.assignedTo = _get(\r\n this.actionItem,\r\n 'assignedToIdentityInformation.name',\r\n ''\r\n )\r\n\r\n this.formData.sourceBoardPackageID = _get(this.actionItem, 'sourceBoardPackageID', 0)\r\n\r\n this.formData.title = _get(this.actionItem, 'title', '')\r\n\r\n this.formData.description = _get(this.actionItem, 'description', '')\r\n\r\n const completeByDateTemp = _get(this.actionItem, 'completeByDate', null)\r\n if (completeByDateTemp) {\r\n const newDate = new Date(completeByDateTemp)\r\n console.debug('newDate=' + newDate)\r\n this.$refs.completeByDateComponent.selected = newDate\r\n }\r\n\r\n this.formData.completeByDate = parseDate(\r\n _get(this.actionItem, 'completeByDate', null),\r\n dateFormat\r\n )\r\n } catch (e) {\r\n console.debug('error while loading the mail delivery item data:' + e)\r\n }\r\n }\r\n })\r\n .then(() => {\r\n this.loadCompletedDateComponent()\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n loadCompletedDateComponent() {\r\n const completedDateTemp = _get(this.actionItem, 'completedDate', null)\r\n if (completedDateTemp) {\r\n try {\r\n const newDate = new Date(moment(completedDateTemp).format('MM/DD/YYYY'))\r\n console.debug('completedDateTemp=' + newDate)\r\n if (this.$refs.completedDateComponent) {\r\n this.$refs.completedDateComponent.selected = newDate\r\n }\r\n } catch (e) {\r\n //this.$refs.completedDateComponent.selected = new Date(today)\r\n }\r\n }\r\n },\r\n\r\n chooseBoardPackage() {},\r\n\r\n async loadActionItemByID() {\r\n await actionItemStore\r\n .dispatch('getActionItemById', {\r\n actionItemID: this.actionItemID\r\n })\r\n .then(({ result }) => {\r\n if (result) {\r\n this.actionItem = result\r\n }\r\n })\r\n },\r\n\r\n async loadSourceBoardPackages() {\r\n const dateFormat = 'MM/DD/YYYY hh:mm a'\r\n\r\n await actionItemStore\r\n .dispatch('getBoardPackagesList', {\r\n hoaID: this.hoaId\r\n })\r\n .then(({ list }) => {\r\n if (list) {\r\n this.sourceBoardPackagesList = list.map(m => ({\r\n label: `${m.type} Session ${\r\n m.meetingDate ? '-' + parseDate(m.meetingDate, dateFormat) : ''\r\n }`,\r\n value: m.boardPackageID\r\n }))\r\n }\r\n })\r\n },\r\n\r\n async loadActionItemStatus() {\r\n await actionItemStore.dispatch('getActionItemStatusList').then(({ list }) => {\r\n if (list) {\r\n this.actionItemStatusList = list.map(m => ({\r\n label: m.name,\r\n value: m.actionItemStatusID\r\n }))\r\n\r\n const actionItemStatusIdDoneTemp = list.filter(f => f.name === 'Done' || f.name === 'done')\r\n\r\n if (\r\n actionItemStatusIdDoneTemp !== undefined &&\r\n actionItemStatusIdDoneTemp &&\r\n actionItemStatusIdDoneTemp[0]\r\n ) {\r\n this.actionItemStatusIdDone = actionItemStatusIdDoneTemp[0].actionItemStatusID\r\n }\r\n }\r\n })\r\n },\r\n\r\n async loadActionItemPriority() {\r\n await actionItemStore.dispatch('getActionItemPriorityList').then(({ list }) => {\r\n if (list) {\r\n this.actionItemPriorityList = list.map(m => ({\r\n label: m.name,\r\n value: m.actionItemPriorityID\r\n }))\r\n }\r\n })\r\n },\r\n\r\n getPayload() {\r\n const payload = {\r\n actionItemID: this.actionItem.actionItemID,\r\n sourceBoardPackageID: this.formData.sourceBoardPackageID,\r\n actionItemStatusID: this.formData.actionItemStatusID,\r\n actionItemPriorityID: this.formData.actionItemPriorityID,\r\n title: this.formData.title,\r\n description: this.formData.description,\r\n assignedToAspNetUserID: this.actionItem.assignedToAspNetUserID,\r\n completedBy:\r\n this.actionItemStatusIdDone &&\r\n this.actionItemStatusIdDone === this.formData.actionItemStatusID\r\n ? this.formData.completedBy\r\n : null,\r\n completedDate:\r\n this.actionItemStatusIdDone &&\r\n this.actionItemStatusIdDone === this.formData.actionItemStatusID\r\n ? this.formData.completedDate\r\n : null,\r\n completeByDate: this.formData.completeByDate,\r\n hoaID: this.actionItem.hoaID\r\n }\r\n\r\n return payload\r\n },\r\n\r\n async onFormSubmit() {\r\n if (!this.formData) {\r\n notifyError('There was a problem saving your action item.')\r\n return\r\n }\r\n\r\n const loadingComponent = this.$buefy.loading.open({\r\n container: null\r\n })\r\n\r\n if (\r\n this.actionItemStatusIdDone === this.formData.actionItemStatusID &&\r\n (this.formData.completedBy === '' || !this.formData.completedBy)\r\n ) {\r\n notifyError('Please enter a value for Completed By.')\r\n return\r\n }\r\n\r\n await actionItemStore.dispatch('updateActionItem', {\r\n payload: this.getPayload(),\r\n done: async () => {\r\n await this.reload()\r\n }\r\n })\r\n\r\n loadingComponent.close()\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ option.label }}\r\n \r\n \r\n \r\n Complete By Date\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Completed Date\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ option.label }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ option.label }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ errors[0] }}\r\n \r\n \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=0fd15226&\"\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 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\r\n \r\n \r\n \r\n {{ month }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \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"],"sourceRoot":""}