{"version":3,"sources":["webpack:///./src/utilities/Date/parse.js","webpack:///./src/components/buttons/Button/index.vue?c8d3","webpack:///src/components/buttons/Button/index.vue","webpack:///./src/components/buttons/Button/index.vue?18df","webpack:///./src/components/buttons/Button/index.vue","webpack:///./node_modules/vue-dragscroll/dist/vue-dragscroll.min.js","webpack:///./src/services/blobutility.js","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/List.vue?e657","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/BoardDocumentModal/index.vue?a5cd","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/BoardDocumentModal/keys/data.js","webpack:///./src/services/BoardDocument/store.js","webpack:///./src/services/BoardDocumentCategory/store.js","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/BoardDocumentModal/keys/methods.js","webpack:///src/pages/Management/communityCenter/tabs/boardDocuments/component/BoardDocumentModal/index.vue","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/BoardDocumentModal/index.vue?4d51","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/BoardDocumentModal/index.vue","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/Download.vue?a81b","webpack:///src/pages/Management/communityCenter/tabs/boardDocuments/component/Download.vue","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/Download.vue?8d40","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/Download.vue","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/keys/methods.js","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/keys/data.js","webpack:///src/pages/Management/communityCenter/tabs/boardDocuments/List.vue","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/List.vue?6ccc","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/List.vue","webpack:///./src/pages/Management/communityCenter/tabs/boardDocuments/component/BoardDocumentModal/index.vue?7a2c","webpack:///./src/assets/images/fill-1-copy-11.svg"],"names":["parseDate","date","format","console","debug","parsed","moment","isValid","exception","message","error","render","_vm","this","_h","$createElement","_c","_self","visible","undefined","class","isprimary","attrs","tooltip","disabled","on","$event","preventDefault","onClick","apply","arguments","_v","_s","text","_e","staticRenderFns","props","component","e","o","module","exports","window","t","n","r","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","length","addEventListener","passive","removeEventListener","componentInstance","$emit","CustomEvent","detail","document","createEvent","initCustomEvent","elm","dispatchEvent","iterator","constructor","u","a","f","target","querySelector","container","active","scrollBy","scrollLeft","scrollTop","v","md","MouseEvent","pageX","touches","pageY","elementFromPoint","pageXOffset","pageYOffset","arg","modifiers","noleft","noright","nomiddle","noback","noforward","w","h","y","firstChild","g","dataset","dragscroll","noDragscroll","which","clientX","clientY","mu","mm","clientWidth","scrollWidth","clientHeight","scrollHeight","pass","x","body","deltaX","deltaY","readyState","inserted","update","JSON","stringify","oldValue","unbind","install","Number","version","split","Error","concat","directive","Vue","VueDragscroll","use","base64toBlob","b64Data","contentType","sliceSize","byteCharacters","atob","byteArrays","offset","slice","byteNumbers","Array","charCodeAt","byteArray","Uint8Array","push","blob","Blob","type","showPdf","newBlob","navigator","msSaveOrOpenBlob","data","URL","createObjectURL","link","createElement","download","setAttribute","href","open","downloadPdf","click","setTimeout","revokeObjectURL","showAnyType","mimeType","staticClass","style","assign","breakpoint","width","createBoardDocumentModal","region","filters","rows","columns","perPage","loading","toggle","selectedBoardDocument","title","ref","scopedSlots","_u","key","fn","handleSubmit","onFormSubmit","model","callback","$$v","boardDocumentCategoryID","expression","_l","option","domProps","label","staticStyle","description","directives","name","rawName","scale","base64pdf","pageCount","page","index","margin","zoom","imageContent","file","attachment","boardDocument","submitFile","replaceFile","closeModal","errors","isDebug","isOpen","isFetching","openOnFocus","buttonText","boardDocumentID","categoryList","actions","getBoardDocumentList","hoaID","log","kms","results","list","notifyProblem","getBoardDocumentById","result","getDocumentFile","dispatch","params","done","path","details","addBoardDocument","post","deleteBoardDocument","delete","wasDeleted","_get","notifyMessage","notifyError","updateBoardDocument","payload","put","uploadDocument","formData","FormData","append","uploadedBoardDocumentFile","returnedFile","Vuex","boardDocumentStore","Store","state","mutations","getters","getBoardDocumentCategoryList","boardDocumentCategoryStore","methods","reload","loadCategories","documentID","loadCurrentBoardDocument","hoaId","then","map","$","focus","asBase64","updateModal","addModal","documentToggle","documentName","direction","amt","Math","sqrt","max","min","components","ValidInput","ValidSelect","ValidationObserver","ValidationProvider","pdf","mounted","computed","String","Function","determineRows","isArray","entry","category","createdDate","uploaded","edit","Button","redirectToEdit","confirmDeleteDocument","Download","$buefy","dialog","confirm","confirmText","hasIcon","onConfirm","asRawBase64","notifyWarning","loadBoardDocuments","showFilters","documents","formatDateFn","show","field","aria","sortable","searchable","styles","dateSelector","display","padding","textAlign","verticalAlign","flexWrap","alignItems","justifyContent","filterButton","float","marginTop","PageContentLayoutOnly","ModernTable","BoardDocumentsModal","Modal","watch","unsubWindowStore","mType","i18n","messages","en"],"mappings":"kIAAA,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,kCC3BT,IAAIU,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAASF,EAAIM,UAA2B,IAAhBN,EAAIM,cAAqCC,IAAhBP,EAAIM,QAAuBF,EAAG,WAAW,CAACI,WAAwBD,IAAlBP,EAAIS,YAA6C,IAAlBT,EAAIS,UACrN,mDACA,yDAAyDC,MAAM,CAAC,MAAQV,EAAIW,QAAQ,S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AAuBlV,GAAdN,KAAKwV,OACrBxV,KAAKwV,MAAM7R,MAAM,gBAAiB,KAA5C,cAME8O,QAhCF,WAgCA,WACIzS,KAAK+Q,SAEL/Q,KAAK0V,iBAAmB,EAA5B,8BACM,IAAN,SAEoB,qBAAVC,IACF,EAAR,4BAII3V,KAAK8K,WAAa,EAAtB,uBAGE8K,KAAM,CACJC,SAAU,CACRC,GAAI,CAAV,6CCjG0Y,KCOtY,GAAY,eACd,GACAhW,EACAwB,GACA,EACA,KACA,KACA,MAIa,gB,2CClBf,yBAAwoB,EAAG,G,qBCA3oBK,EAAOC,QAAU,IAA0B","file":"js/communityCenter.boardDocuments.1f3c04d1.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return ((_vm.visible && _vm.visible === true) || _vm.visible === undefined)?_c('b-button',{class:_vm.isprimary !== undefined && _vm.isprimary === true\n ? 'button is-primary is-small is-outline is-rounded'\n : 'button is-info is-light is-small is-outline is-rounded',attrs:{\"title\":_vm.tooltip,\"disabled\":_vm.disabled && _vm.disabled !== undefined && _vm.disabled === true},on:{\"click\":function($event){$event.preventDefault();return _vm.onClick.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.text))]):_vm._e()}\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=036d99d6&\"\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","!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","/*\r\n import { base64toBlob, showPdf } from '@/services/blobutility'\r\n*/\r\n\r\nexport const base64toBlob = (b64Data, contentType) => {\r\n const sliceSize = 512\r\n const byteCharacters = atob(b64Data)\r\n const byteArrays = []\r\n\r\n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\r\n const slice = byteCharacters.slice(offset, offset + sliceSize)\r\n\r\n const byteNumbers = new Array(slice.length)\r\n for (let i = 0; i < slice.length; i++) {\r\n byteNumbers[i] = slice.charCodeAt(i)\r\n }\r\n\r\n const byteArray = new Uint8Array(byteNumbers)\r\n byteArrays.push(byteArray)\r\n }\r\n\r\n const blob = new Blob(byteArrays, { type: contentType })\r\n return blob\r\n}\r\n\r\nexport const showPdf = blob => {\r\n var newBlob = new Blob([blob], { type: 'application/pdf' })\r\n\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(newBlob)\r\n } else {\r\n const data = window.URL.createObjectURL(newBlob)\r\n\r\n var link = document.createElement('a')\r\n link.download = 'download.pdf'\r\n link.setAttribute('download', 'download.pdf')\r\n link.href = data\r\n\r\n window.open(link, '_blank')\r\n }\r\n\r\n return\r\n}\r\n\r\nexport const downloadPdf = blob => {\r\n var newBlob = new Blob([blob], { type: 'application/pdf' })\r\n\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(newBlob)\r\n } else {\r\n const data = window.URL.createObjectURL(newBlob)\r\n var link = document.createElement('a')\r\n link.download = 'download.pdf'\r\n link.setAttribute('download', 'download.pdf')\r\n link.href = data\r\n link.click()\r\n\r\n setTimeout(function() {\r\n window.URL.revokeObjectURL(data)\r\n 100\r\n })\r\n }\r\n\r\n return\r\n}\r\n\r\nexport const showAnyType = (blob, mimeType) => {\r\n console.debug('showAnyType...')\r\n var newBlob = new Blob([blob], { type: mimeType })\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(newBlob)\r\n } else {\r\n const data = window.URL.createObjectURL(newBlob)\r\n var link = document.createElement('a')\r\n link.href = data\r\n\r\n window.open(data, '_blank')\r\n\r\n setTimeout(function() {\r\n window.URL.revokeObjectURL(data)\r\n 100\r\n })\r\n }\r\n\r\n return\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"role\":\"region\"}},[_c('div',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"},[_c('b-button',{style:(Object.assign({}, (_vm.breakpoint === 'desktop'\n ? {}\n : {\n width: '100%'\n }))),attrs:{\"type\":\"is-primary\",\"rounded\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.createBoardDocumentModal()}}},[_vm._v(\" Add Board Document \")])],1)]),_c('ModernTable',{attrs:{\"region\":_vm.region,\"filters\":_vm.filters,\"rows\":_vm.rows,\"columns\":_vm.columns,\"pagination\":{\n perPage: 12\n },\"loading\":_vm.loading,\"headerColor\":\"#FFF\",\"condensed\":\"\"}}),_c('Modal',{attrs:{\"toggle\":_vm.toggle},on:{\"update:toggle\":function($event){_vm.toggle=$event}}},[_c('BoardDocumentsModal',{attrs:{\"boardDocument\":_vm.selectedBoardDocument}})],1)],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',{staticClass:\"section uploader\",attrs:{\"board-document-modal\":\"\",\"id\":\"boardDocumentModal\"}},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"is-size-4\"},[_vm._v(_vm._s((_vm.title + \" Board Document\")))]),_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',[(_vm.categoryList)?_c('div',{staticClass:\"pt-5\"},[_c('valid-select',{attrs:{\"label\":\"Category\",\"placeholder\":\"Category\",\"vid\":\"category\",\"required\":\"true\",\"rules\":\"required\"},model:{value:(_vm.boardDocumentCategoryID),callback:function ($$v) {_vm.boardDocumentCategoryID=$$v},expression:\"boardDocumentCategoryID\"}},_vm._l((_vm.categoryList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1):_vm._e(),_c('div',{staticClass:\"is-12 pt-5\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Description\",\"label\":\"Description\",\"type\":\"text\",\"vid\":\"Description\",\"placeholder\":\"Description\",\"spellcheck\":\"true\",\"aria-label\":\"Description\",\"rules\":\"max:100|required\"},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}})],1),_c('div',{staticClass:\"box is-8\"},[_c('section',[(_vm.base64pdf)?_c('div',{staticClass:\"has-text-centered\",attrs:{\"id\":\"viewpdf\"}},[_c('div',[_c('div',[_c('div',{directives:[{name:\"dragscroll\",rawName:\"v-dragscroll\",value:(true),expression:\"true\"}],class:['doc-viewer', { 'zoom-active': _vm.scale > 0.9 }]},[_c('pdf',{staticStyle:{\"display\":\"none\"},attrs:{\"src\":_vm.base64pdf},on:{\"num-pages\":function($event){_vm.pageCount = new Array($event)}}}),_vm._l((_vm.pageCount),function(page,index){return _c('pdf',{key:index,style:({ margin: 'auto', width: ((100 * _vm.scale) + \"%\") }),attrs:{\"src\":(\"\" + _vm.base64pdf),\"page\":index + 1,\"scale\":_vm.scale,\"resize\":true}})})],2)]),_c('div',{staticClass:\"doc-controls has-text-center\"},[_c('b-field',{attrs:{\"position\":\"is-centered\"}},[_c('div',{staticClass:\"control\"},[_c('b-button',{on:{\"click\":function($event){return _vm.zoom(-1)}}},[_vm._v(\"-\")])],1),_c('div',{staticClass:\"control\"},[_c('b-button',{on:{\"click\":function($event){return _vm.zoom(1)}}},[_vm._v(\"+\")])],1)])],1)])]):(_vm.imageContent)?_c('div',[_c('img',{attrs:{\"src\":_vm.imageContent}})]):_vm._e(),_c('div',[_c('b-field',{staticClass:\"file\"},[_c('b-upload',{staticClass:\"rectangle\",attrs:{\"drag-drop\":\"\",\"accept\":\"application/pdf\"},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}},[_c('section',{staticClass:\"section\"},[_c('div',{},[_c('div',[_c('img',{staticClass:\"Fill-1-Copy-11\",attrs:{\"src\":require(\"@/assets/images/fill-1-copy-11.svg\"),\"alt\":\"Upload\"}})]),(_vm.file)?_c('div',[_vm._v(\" \"+_vm._s(_vm.file.name)+\" \")]):_c('div',[_c('div',{staticClass:\"Drag-Drop-your-fil\"},[_c('div',{staticClass:\"text-style-1\"},[_vm._v(\"Drag & Drop\")]),_c('div',[_vm._v(\"Please upload PDF files\")])])])])])])],1)],1),_c('div',{staticClass:\"pt-5\"},[(_vm.attachment == false && !_vm.boardDocument)?_c('span',{staticClass:\"pr-5\"},[_c('b-button',{attrs:{\"type\":\"is-primary\",\"disabled\":!_vm.file},on:{\"click\":_vm.submitFile}},[_vm._v(\"Add/Upload\")])],1):_vm._e(),_c('span',{staticClass:\"pt-5 pr-5\"},[(_vm.boardDocument && _vm.boardDocument != undefined)?_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]):_vm._e()]),(_vm.boardDocument && _vm.boardDocument != undefined)?_c('span',{staticClass:\"pr-5\"},[_c('b-button',{attrs:{\"type\":\"is-primary\",\"disabled\":!_vm.file},on:{\"click\":_vm.replaceFile}},[_vm._v(\"Replace\")])],1):_vm._e(),_c('span',[_c('b-button',{attrs:{\"type\":\"is-primary\"},on:{\"click\":_vm.closeModal}},[_vm._v(\"Close\")])],1)])])])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}])})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function data() {\r\n return {\r\n isDebug: true,\r\n isOpen: false,\r\n loading: true,\r\n isFetching: false,\r\n openOnFocus: true,\r\n buttonText: 'Add',\r\n file: null,\r\n base64pdf: '',\r\n scale: 1,\r\n imageContent: null,\r\n description: '',\r\n title: 'Create',\r\n attachment: false,\r\n boardDocumentID: 0,\r\n boardDocumentCategoryID: 0,\r\n categoryList: [],\r\n pageCount: []\r\n }\r\n}\r\n","/*\r\n import { boardDocumentStore } from '@/services/BoardDocument/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await escrowStore.dispatch ('getEscrowList', {\r\n hoaId\r\n });\r\n */\r\n\r\n async getBoardDocumentList({}, { hoaID }) {\r\n console.log('in getBoardDocumentList...' + hoaID)\r\n try {\r\n const results = await kms.get(`/BoardDocuments/BoardDocument/List?hoaID=${hoaID}`)\r\n\r\n if (isDebug == true) console.debug('getBoardDocumentList 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 Document 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 getBoardDocumentById({}, { boardDocumentID }) {\r\n try {\r\n console.debug('in getBoardDocumentById...')\r\n const result = await kms.get(`/BoardDocuments/BoardDocument/${boardDocumentID}`)\r\n\r\n if (isDebug == true) console.debug('getBoardDocumentById=' + JSON.stringify(result))\r\n\r\n return {\r\n result: result\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving this board document detail.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: {}\r\n }\r\n },\r\n\r\n async getDocumentFile({ dispatch }, { params, done }) {\r\n const path = `/BoardDocuments/BoardDocument/GetFile`\r\n const result = await kms.get(path, {\r\n params\r\n })\r\n\r\n if (this.isDebug == true) console.debug('getDocumentFile=' + JSON.stringify(result))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (result) {\r\n console.debug(`Successfully retrieved the board document.`)\r\n done({ details: result })\r\n } else {\r\n console.error('There was a problem retrieving the board document.')\r\n }\r\n },\r\n\r\n async addBoardDocument(\r\n { dispatch },\r\n { hoaID, boardDocumentID, boardDocumentCategoryID, description, done }\r\n ) {\r\n try {\r\n const result = await kms.post(`/BoardDocuments/BoardDocument/`, {\r\n hoaID,\r\n boardDocumentID,\r\n boardDocumentCategoryID,\r\n description\r\n })\r\n\r\n console.debug('result=' + JSON.stringify(result))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (result.boardDocumentID > 0) {\r\n console.debug(`Successfully added the board document.`)\r\n done({ details: result })\r\n } else {\r\n console.debug('There was a problem adding the board document.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this board document.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async deleteBoardDocument({ dispatch }, { boardDocumentID, done }) {\r\n try {\r\n const path = `/BoardDocuments/BoardDocument/${boardDocumentID}?forceDelete=false`\r\n\r\n const results = await kms.delete(path)\r\n\r\n if (isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n const wasDeleted = _get(results, 'deleted', false)\r\n\r\n if (wasDeleted === true) {\r\n notifyMessage(`Successfully deleted this board document.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem deleting this board document.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem deleting this board document.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async updateBoardDocument({ dispatch }, { payload = {}, done }) {\r\n try {\r\n const results = await kms.put(`/BoardDocuments/BoardDocument`, 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.boardDocumentID > 0) {\r\n notifyMessage(`Successfully updated the board document.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem updating this board document.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem processing the update for this board document.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async uploadDocument({ dispatch }, { payload = {}, done }) {\r\n const formData = new FormData()\r\n formData.append('file', payload.file)\r\n\r\n try {\r\n const path = `/BoardDocuments/BoardDocument/StoreFile?boardDocumentID=${payload.boardDocumentID}`\r\n const uploadedBoardDocumentFile = await kms.post(path, formData, {\r\n 'Content-Type': 'multipart/form-data'\r\n })\r\n\r\n console.debug('uploadDocument path=' + path)\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (isDebug == true)\r\n console.debug(\r\n 'upload board document with payload=' + JSON.stringify(uploadedBoardDocumentFile)\r\n )\r\n\r\n done({ returnedFile: uploadedBoardDocumentFile })\r\n } catch (e) {\r\n notifyError(e)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const boardDocumentStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","/*\r\n import { boardDocumentCategoryStore } from '@/services/BoardDocumentCategory/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\nimport { notifyProblem } 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 escrowStore.dispatch ('getEscrowList', {\r\n hoaId\r\n });\r\n */\r\n\r\n async getBoardDocumentCategoryList({}, { hoaID }) {\r\n console.log('in getBoardDocumentCategoryList...' + hoaID)\r\n try {\r\n const results = await kms.get(`/BoardDocuments/BoardDocumentCategory/List?hoaID=${hoaID}`)\r\n\r\n if (isDebug == true)\r\n console.debug('getBoardDocumentCategoryList 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 Document Category 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/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const boardDocumentCategoryStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import { boardDocumentStore } from '@/services/BoardDocument/store'\r\nimport { boardDocumentCategoryStore } from '@/services/BoardDocumentCategory/store'\r\nimport { notifyError, notifyMessage } from '@/services/notify'\r\nimport $ from 'jquery'\r\n\r\nexport const methods = {\r\n async reload() {\r\n this.loading = true\r\n\r\n this.loadCategories()\r\n\r\n if (this.boardDocument && this.boardDocument != undefined) {\r\n console.debug('in reload update...')\r\n this.description = this.boardDocument.description\r\n this.boardDocumentCategoryID = this.boardDocument.boardDocumentCategoryID\r\n\r\n if (this.boardDocument.documentID && this.boardDocument.documentID != undefined) {\r\n this.attachment = true\r\n this.loadCurrentBoardDocument()\r\n }\r\n\r\n //Update\r\n this.title = 'Update'\r\n\r\n this.loading = false\r\n } else {\r\n this.title = 'Add'\r\n this.loading = false\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n open() {\r\n this.isOpen = true\r\n this.loadCategories()\r\n this.loading = false\r\n },\r\n\r\n async loadCategories() {\r\n console.debug('in loadCategories')\r\n await boardDocumentCategoryStore\r\n .dispatch('getBoardDocumentCategoryList', {\r\n hoaID: this.hoaId\r\n })\r\n .then(async ({ list }) => {\r\n if (list) {\r\n console.debug(JSON.stringify(list))\r\n this.categoryList = list.map(m => ({\r\n value: m.boardDocumentCategoryID,\r\n label: m.name\r\n }))\r\n }\r\n })\r\n },\r\n\r\n async replaceFile() {\r\n if (\r\n this.boardDocument &&\r\n this.boardDocument != undefined &&\r\n this.boardDocument.boardDocumentID > 0\r\n ) {\r\n const payload = {\r\n hoaID: this.boardDocument.hoaID,\r\n boardDocumentID: this.boardDocument.boardDocumentID,\r\n description: this.boardDocument.description,\r\n file: this.file\r\n }\r\n\r\n await boardDocumentStore.dispatch('uploadDocument', {\r\n payload: payload,\r\n done: ({ returnedFile }) => {\r\n if (returnedFile) {\r\n this.reload()\r\n $('#viewpdf').focus()\r\n notifyMessage(`Successfully replaced the board document.`)\r\n } else {\r\n notifyError('There was a problem replacing this board document.')\r\n }\r\n }\r\n })\r\n }\r\n },\r\n\r\n async loadCurrentBoardDocument() {\r\n if (\r\n !this.boardDocument ||\r\n !this.boardDocument.documentID ||\r\n this.boardDocument.documentID <= 0\r\n ) {\r\n return\r\n }\r\n\r\n try {\r\n const params = {\r\n boardDocumentID: this.boardDocument.boardDocumentID,\r\n asBase64: true\r\n }\r\n\r\n await boardDocumentStore.dispatch('getDocumentFile', {\r\n params: params,\r\n done: ({ details }) => {\r\n if (details) {\r\n if (this.isDebug == true)\r\n console.debug(\r\n ' - params' + JSON.stringify(params) + ' - this.getDocumentFile=' + details\r\n )\r\n\r\n this.base64pdf = details\r\n this.imageContent = null\r\n }\r\n }\r\n })\r\n } catch (e) {\r\n if (this.isDebug == true) console.debug(e)\r\n }\r\n },\r\n\r\n async onFormSubmit() {\r\n if (this.description && this.description != undefined) {\r\n if (this.boardDocument) {\r\n await this.updateModal()\r\n } else {\r\n await this.addModal()\r\n }\r\n }\r\n },\r\n\r\n closeModal() {\r\n this.$emit('update:toggle', (this.documentToggle = !this.documentToggle))\r\n\r\n // auto-close modal\r\n $('#clickclose').click()\r\n },\r\n\r\n async addModal() {\r\n console.debug('in addModal...')\r\n if (this.description == '') {\r\n notifyError('Description is a required field.')\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n await boardDocumentStore.dispatch('addBoardDocument', {\r\n hoaID: this.hoaId,\r\n documentID: null,\r\n boardDocumentCategoryID: this.boardDocumentCategoryID,\r\n description: this.description,\r\n done: async ({ details }) => {\r\n if (details) {\r\n this.loading = false\r\n\r\n // auto-close modal\r\n $('#clickclose').click()\r\n }\r\n }\r\n })\r\n },\r\n\r\n async updateModal() {\r\n if (!this.boardDocument || this.boardDocument == undefined) {\r\n notifyError('There was a problem updating this board document.')\r\n return\r\n }\r\n\r\n console.debug('updateModal...')\r\n\r\n this.loading = true\r\n\r\n const payload = {\r\n boardDocumentID: this.boardDocument.boardDocumentID,\r\n hoaID: this.boardDocument.hoaID,\r\n boardDocumentCategoryID: this.boardDocumentCategoryID,\r\n description: this.description ? this.description : null,\r\n documentID: this.boardDocument.documentID ? this.boardDocument.documentID : null\r\n }\r\n\r\n await boardDocumentStore.dispatch('updateBoardDocument', {\r\n payload: payload,\r\n done: () => {\r\n // auto-close modal\r\n this.$emit('update:toggle', (this.toggle = false))\r\n $('#clickclose').click()\r\n this.loading = false\r\n }\r\n })\r\n },\r\n\r\n async submitFile() {\r\n if (this.documentName == '') {\r\n notifyError('Document Name is a required field.')\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n try {\r\n if (this.attachment == false) {\r\n await boardDocumentStore.dispatch('addBoardDocument', {\r\n hoaID: this.hoaId,\r\n documentID: null,\r\n boardDocumentCategoryID: this.boardDocumentCategoryID,\r\n description: this.description,\r\n done: async ({ details }) => {\r\n if (details && details != undefined && details.boardDocumentID > 0) {\r\n const payload = {\r\n hoaID: details.hoaID,\r\n boardDocumentID: details.boardDocumentID,\r\n description: details.description,\r\n file: this.file\r\n }\r\n\r\n console.debug('payload prior to store file=' + JSON.stringify(payload))\r\n\r\n await boardDocumentStore.dispatch('uploadDocument', {\r\n payload: payload,\r\n done: ({ returnedFile }) => {\r\n if (returnedFile) {\r\n this.$emit('update:toggle', (this.documentToggle = !this.documentToggle))\r\n // auto-close modal\r\n $('#clickclose').click()\r\n\r\n notifyMessage(`Successfully uploaded the board document.`)\r\n } else {\r\n notifyError('There was a problem uploading this board document.')\r\n }\r\n }\r\n })\r\n }\r\n }\r\n })\r\n }\r\n } catch (e) {\r\n notifyError(e)\r\n }\r\n this.loading = false\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","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=4b5d8719&\"\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',[(typeof _vm.boardDocumentID === 'string' || typeof _vm.boardDocumentID === 'number')?_c('span',[_c('button',{on:{\"click\":function($event){$event.preventDefault();return _vm.downloadPdf(_vm.boardDocumentID)}}},[_c('svg',{staticClass:\"w-6 h-6\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"viewBox\":\"0 0 24 24\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4\"}})])])]):_c('span',[_vm._v(\"   \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Download.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Download.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Download.vue?vue&type=template&id=0dfccb6c&\"\nimport script from \"./Download.vue?vue&type=script&lang=js&\"\nexport * from \"./Download.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { base64toBlob, showPdf } from '@/services/blobutility'\r\nimport Button from '@/components/buttons/Button'\r\nimport Download from '../component/Download'\r\nimport _get from 'lodash/get'\r\nimport { boardDocumentStore } from '@/services/BoardDocument/store'\r\nimport { parseDate } from '@/utilities/Date/parse'\r\nimport { notifyMessage, notifyProblem, notifyWarning } from '@/services/notify'\r\n\r\nexport const methods = {\r\n determineRows: async function(list) {\r\n if (!Array.isArray(list)) {\r\n return\r\n }\r\n\r\n var rows = list.map(entry => {\r\n const category = _get(entry, 'boardDocumentCategoryDto.name', '')\r\n const description = _get(entry, 'description', '')\r\n //const documentName = _get(entry, 'description', '')\r\n const createdDate = parseDate(_get(entry, ['createdDate'], ''), 'LL')\r\n const boardDocumentID = _get(entry, ['boardDocumentID'], 0)\r\n\r\n return {\r\n category: category,\r\n description: description,\r\n uploaded: createdDate,\r\n edit: {\r\n component: Button,\r\n props: {\r\n onClick: () => {\r\n this.redirectToEdit(entry)\r\n },\r\n text: 'Edit'\r\n }\r\n },\r\n delete: {\r\n component: Button,\r\n props: {\r\n onClick: async () => {\r\n await this.confirmDeleteDocument(boardDocumentID, description)\r\n },\r\n text: 'Delete'\r\n }\r\n },\r\n document: {\r\n component: Download,\r\n props: {\r\n boardDocumentID: _get(entry, ['boardDocumentID'], 0),\r\n downloadPdf: boardDocumentID => {\r\n this.downloadPdf(boardDocumentID)\r\n }\r\n }\r\n }\r\n }\r\n })\r\n\r\n this.rows = rows\r\n },\r\n\r\n createBoardDocumentModal() {\r\n this.toggle = true\r\n this.selectedBoardDocument = null\r\n },\r\n\r\n redirectToEdit(boardDocumentID) {\r\n this.toggle = true\r\n this.selectedBoardDocument = boardDocumentID\r\n },\r\n\r\n async confirmDeleteDocument(boardDocumentID, documentName) {\r\n this.$buefy.dialog.confirm({\r\n title: 'Deleting Board Document',\r\n message: `Are you sure you want to delete this board document? \"${documentName}\"?`,\r\n confirmText: 'Delete Document',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: () => this.deleteBoardDocument(boardDocumentID)\r\n })\r\n },\r\n\r\n async deleteBoardDocument(boardDocumentID) {\r\n if (boardDocumentID) {\r\n await boardDocumentStore.dispatch('deleteBoardDocument', {\r\n boardDocumentID: boardDocumentID,\r\n done: () => {\r\n this.loading = false\r\n this.reload()\r\n }\r\n })\r\n }\r\n },\r\n\r\n async downloadPdf(boardDocumentID) {\r\n if (this.isDebug == true) console.debug('downloadPdf...')\r\n\r\n if (!boardDocumentID || boardDocumentID == undefined) {\r\n notifyProblem('There is a problem downloading this document.')\r\n }\r\n\r\n try {\r\n const params = {\r\n boardDocumentID,\r\n asBase64: true,\r\n asRawBase64: true\r\n }\r\n\r\n await boardDocumentStore.dispatch('getDocumentFile', {\r\n params,\r\n done: ({ details }) => {\r\n if (details) {\r\n if (this.isDebug == true) console.debug('base64pdf........................' + details)\r\n\r\n const contentType = 'application/pdf'\r\n const blob = base64toBlob(details, contentType)\r\n showPdf(blob)\r\n notifyMessage(`Successfully downloaded the board document.`)\r\n return\r\n }\r\n }\r\n })\r\n } catch (e) {\r\n if (this.isDebug == true) console.debug(e)\r\n notifyWarning('There was a problem downloading the board document.')\r\n }\r\n },\r\n\r\n async loadBoardDocuments() {\r\n if (this.isDebug == true) console.debug('in loadBoardDocuments()...')\r\n\r\n await boardDocumentStore\r\n .dispatch('getBoardDocumentList', {\r\n hoaID: this.hoaId\r\n })\r\n .then(async ({ list }) => {\r\n await this.determineRows(list)\r\n })\r\n },\r\n\r\n async reload() {\r\n this.loading = true\r\n\r\n this.rows = []\r\n await this.loadBoardDocuments()\r\n\r\n this.loading = false\r\n }\r\n}\r\n","import moment from 'moment'\r\n\r\nexport const data = () => ({\r\n isDebug: true,\r\n loading: false,\r\n showFilters: false,\r\n toggle: false,\r\n selectedBoardDocument: null,\r\n documents: [],\r\n breakpoint: '',\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\r\n filters: {\r\n show: false\r\n },\r\n\r\n region: {},\r\n\r\n rows: [],\r\n\r\n columns: [\r\n {\r\n field: 'category',\r\n label: 'Category',\r\n aria: 'Category',\r\n width: '15%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n // {\r\n // field: 'documentName',\r\n // label: 'Name',\r\n // aria: 'Name',\r\n // width: '75%',\r\n // sortable: true,\r\n // searchable: true\r\n // },\r\n {\r\n field: 'description',\r\n label: 'Description',\r\n aria: 'Description',\r\n width: '75%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'uploaded',\r\n label: 'Uploaded',\r\n date: true,\r\n width: '10%',\r\n sortable: true,\r\n searchable: true\r\n }\r\n ],\r\n\r\n styles: {\r\n dateSelector: {\r\n display: 'flex',\r\n padding: '12px',\r\n textAlign: 'center',\r\n verticalAlign: 'middle',\r\n flexWrap: 'wrap',\r\n alignItems: 'center',\r\n justifyContent: 'flex-end'\r\n },\r\n filterButton: {\r\n float: 'right',\r\n marginTop: '4px'\r\n }\r\n }\r\n})\r\n","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=520fc69d&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","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&\"","module.exports = __webpack_public_path__ + \"img/fill-1-copy-11.4a777982.svg\";"],"sourceRoot":""}