{"version":3,"sources":["webpack:///./src/utilities/Date/parse.js","webpack:///./src/components/inputs/DatePicker/index.vue?acb0","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","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/List.vue?ebc3","webpack:///./src/services/Units/Tabs/LateFeeSuspension/store.js","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionActions.vue?06d2","webpack:///src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionActions.vue","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionActions.vue?3e01","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionActions.vue","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionModal/index.vue?c9ce","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionModal/keys/data.js","webpack:///./src/services/Units/Tabs/LateFeeSuspension/SuspensionModal/store.js","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionModal/keys/methods.js","webpack:///src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionModal/index.vue","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionModal/index.vue?4742","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/component/SuspensionModal/index.vue","webpack:///src/pages/Management/units/tabs/LateFeeSuspension/List.vue","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/List.vue?ee90","webpack:///./src/pages/Management/units/tabs/LateFeeSuspension/List.vue"],"names":["parseDate","date","format","console","debug","parsed","moment","isValid","exception","message","error","render","_vm","this","_h","$createElement","_c","_self","class","focused","style","display","textAlign","attrs","ariaLabel","label","fieldType","errorMessage","fields","scopedSlots","_u","key","fn","border","borderRadius","on","onFocus","onBlur","proxy","model","value","callback","$$v","selected","expression","_e","styles","ref","staticClass","ariaPrefix","month","_l","domProps","_v","_s","day","year","staticRenderFns","data","field","width","Date","months","monthField","Object","assign","dayField","yearField","methods","testValidityDate","numericMonth","isValidDate","startEmpty","onUpdate","notifyError","setValue2","dayOfMonth","setValue","dateString","length","today","toString","m","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","type","String","default","Function","Boolean","menu","watch","computed","days","push","a","beforeMount","component","$t","region","filters","rows","columns","perPage","loading","float","$event","preventDefault","addSuspension","selectedSuspension","height","show","background","staticStyle","toggle","ownerID","isDebug","actions","getSuspensionList","hoaID","log","kms","get","params","result","JSON","stringify","list","results","notifyProblem","deleteSuspension","dispatch","lateFeeSuspensionID","done","path","delete","undefined","wasDeleted","_get","notifyMessage","Vue","use","Vuex","suspensionList","Store","state","mutations","getters","loadUpdateSuspension","suspension","confirmSuspensionDelete","reason","Number","buttonText","handleSubmit","submitSuspension","formData","$set","errors","startDate","endDate","addedBy","newId","isOpen","openOnFocus","showWeekNumber","datePickerContainer","alignItems","datePicker","margin","marginRight","updateSuspension","payload","put","details","post","suspensionStore","reload","createdByIdentityInformation","name","$refs","startDateComponent","endDateComponent","open","dateMessage","leaveForm","$","click","components","ValidInput","ValidationObserver","ValidationProvider","DatePicker","mounted","PageContentLayoutOnly","ModernTable","Modal","SuspensionModal","aria","sortable","searchable","created","authUser","determineOwnerID","fromOwnerID","determineRows","Array","isArray","map","SuspensionActions","entry","title","confirmText","hasIcon","onConfirm","unit","unitID","loadSuspension","i18n","messages","en"],"mappings":"2HAAA,2DAQaA,EAAY,SAACC,GAAwB,IAAlBC,EAAkB,uDAAT,KACvC,GAAoB,kBAATD,EAET,OADAE,QAAQC,MAAR,+CAA8D,CAAEH,S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AAiB5I,QAAQC,MAAM,gBAAkBS,KAAKiI,UAEjEjI,KAAK+L,UAGPyC,KAAM,CACJC,SAAU,CACRC,GAAI,CAAV,8CCpR0Y,ICOtY,EAAY,eACd,EACA5O,EACA8C,GACA,EACA,KACA,KACA,MAIa,e","file":"js/unit.lateFeeSuspensions.360bc688.js","sourcesContent":["/*\r\n Example:\r\n import { parseDate } from '@/utilities/Date/parse'\r\n\r\n const parsedDate = parseDate (date, 'LL');\r\n*/\r\nimport moment from 'moment'\r\n\r\nexport const parseDate = (date, format = 'LL') => {\r\n if (typeof date !== 'string') {\r\n console.debug(`parseDate can only parse a date string. got:`, { date })\r\n return date\r\n }\r\n\r\n try {\r\n const parsed = moment(date)\r\n if (parsed.isValid()) {\r\n date = moment(date).format(format)\r\n }\r\n } catch (exception) {\r\n if (exception && exception.message) {\r\n console.error(exception.message)\r\n } else {\r\n console.error(exception)\r\n }\r\n }\r\n\r\n return date\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=1&id=7e0642de&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=1&id=7e0642de&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-field',{class:'date-picker--field' + (_vm.focused ? ' focused' : ''),style:({ display: 'inline-table', textAlign: 'left' }),attrs:{\"tabindex\":\"0\",\"aria-label\":_vm.ariaLabel,\"label\":_vm.label,\"type\":_vm.fieldType,\"message\":_vm.errorMessage}},[(_vm.fields.menu)?_c('b-datepicker',{scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('b-button',{style:({\n border: 0,\n borderRadius: '6px'\n }),attrs:{\"icon-left\":\"calendar-today\",\"type\":\"is-ghost\",\"aria-hidden\":\"true\",\"aria-label\":\"visual presentation button\"},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur}})]},proxy:true}],null,false,3056716859),model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}}):_vm._e(),(_vm.fields.month)?_c('b-field',{style:(_vm.styles.monthField)},[_c('b-select',{ref:\"month\",staticClass:\"date-picker--select\",attrs:{\"month\":\"\",\"placeholder\":\"Month\",\"aria-label\":_vm.ariaPrefix + ' month'},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},model:{value:(_vm.month),callback:function ($$v) {_vm.month=$$v},expression:\"month\"}},_vm._l((_vm.months),function(month){return _c('option',{key:month,domProps:{\"value\":month}},[_vm._v(\" \"+_vm._s(month)+\" \")])}),0)],1):_vm._e(),(_vm.fields.dayOfMonth)?_c('b-field',{style:(_vm.styles.dayField)},[_c('b-input',{ref:\"day\",staticClass:\"date-picker--input day\",attrs:{\"day\":\"\",\"placeholder\":\"Day\",\"maxlength\":\"2\",\"aria-label\":_vm.ariaPrefix + ' day',\"has-counter\":false},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:\"day\"}})],1):_vm._e(),(_vm.fields.year)?_c('b-field',{style:(_vm.styles.yearField)},[_c('b-input',{ref:\"year\",staticClass:\"date-picker--input year\",attrs:{\"year\":\"\",\"placeholder\":\"Year\",\"aria-label\":_vm.ariaPrefix + ' year'},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},model:{value:(_vm.year),callback:function ($$v) {_vm.year=$$v},expression:\"year\"}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function data() {\r\n var field = {\r\n width: '70px',\r\n display: 'inline-block',\r\n textAlign: 'left'\r\n }\r\n\r\n return {\r\n focused: false,\r\n selected: new Date(),\r\n day: '',\r\n month: null,\r\n year: '',\r\n months: [\r\n '',\r\n 'January',\r\n 'February',\r\n 'March',\r\n 'April',\r\n 'May',\r\n 'June',\r\n 'July',\r\n 'August',\r\n 'September',\r\n 'October',\r\n 'November',\r\n 'December'\r\n ],\r\n styles: {\r\n monthField: Object.assign({}, field, {\r\n width: '127px'\r\n }),\r\n dayField: Object.assign({}, field, {\r\n width: '60px'\r\n }),\r\n yearField: field\r\n }\r\n }\r\n}\r\n","import moment from 'moment'\r\nimport { notifyError } from '@/services/notify'\r\n\r\n/*\r\n\t\r\n*/\r\nexport const methods = {\r\n onFocus: function() {\r\n this.focused = true\r\n },\r\n onBlur: function() {\r\n this.focused = false\r\n\r\n const testValidityDate = `${this.year}-${this.numericMonth}-${this.day}T05:00:00Z`\r\n\r\n if (!this.isValidDate(testValidityDate) && !this.startEmpty) {\r\n notifyError(\r\n `The date, ${this.month}-${this.day}-${this.year}, is an invalid date. Please select, or enter, a valid date.`\r\n )\r\n return\r\n }\r\n\r\n this.onUpdate({\r\n day: this.day,\r\n month: this.month,\r\n numericMonth: this.numericMonth,\r\n year: this.year\r\n })\r\n },\r\n setValue2: function({ dayOfMonth, month, year }) {\r\n this.day = dayOfMonth\r\n this.month = month\r\n // this.numericMonth = numericMonth\r\n this.year = year\r\n },\r\n setValue: function(dateString) {\r\n try {\r\n if (typeof dateString !== 'string' || dateString.length === 0) {\r\n this.day = null\r\n this.month = null\r\n this.numericMonth = null\r\n this.year = null\r\n console.debug('dateString needs to be a string of length >= 1', { dateString })\r\n\r\n if (this.startEmpty === false) {\r\n const today = moment()\r\n this.day = today.date().toString()\r\n this.month = today.format('MMMM')\r\n this.numericMonth = today.format('MM')\r\n this.year = today.year().toString()\r\n\r\n //2022-07-08T04:00:00Z\r\n dateString = `${this.year}-${today.format('MM')}-${today.format('DD')}T12:00:00Z`\r\n }\r\n }\r\n\r\n console.debug('dateString = ' + dateString)\r\n\r\n const m = moment(dateString, true)\r\n\r\n if (!m.isValid()) {\r\n console.debug(`The date string value provided \"${dateString}\" was not parseable.`)\r\n return\r\n }\r\n\r\n const year = m.year().toString()\r\n const month = m.format('MMMM')\r\n const numericMonth = m.format('MM')\r\n const date = m.date().toString()\r\n\r\n if (typeof year === 'string' && typeof month === 'string' && typeof date === 'string') {\r\n this.day = date\r\n this.month = month\r\n this.numericMonth = numericMonth\r\n this.year = year\r\n }\r\n } catch (exception) {\r\n console.debug(exception)\r\n }\r\n },\r\n updateValue: function() {\r\n const { utcFormat } = this.getValue()\r\n if (typeof utcFormat === 'string') {\r\n this.$emit('input', utcFormat)\r\n }\r\n },\r\n\r\n isValidDate(dateStr) {\r\n try {\r\n //2023-01-05T05:00:00Z\r\n var ds = dateStr.split('T')\r\n var dszero = ds[0]\r\n var s = dszero.split('-')\r\n\r\n console.debug('year s0=' + s[0])\r\n console.debug('month s1=' + s[1])\r\n console.debug('day s2=' + s[2])\r\n\r\n var d = new Date(+s[0], s[1] - 1, +s[2])\r\n if (Object.prototype.toString.call(d) === '[object Date]') {\r\n if (!isNaN(d.getTime()) && d.getDate() == s[2] && d.getMonth() == s[1] - 1) {\r\n return true\r\n }\r\n }\r\n return false\r\n } catch (x) {\r\n return false\r\n }\r\n },\r\n\r\n getValue: function() {\r\n const day = this.day\r\n const month = this.month\r\n const numericMonth = this.numericMonth\r\n let year = this.year\r\n\r\n let utcExtended = ''\r\n try {\r\n let _year = parseInt(year)\r\n\r\n if (typeof _year === 'number' && _year >= 1) {\r\n if (year.length === 1) {\r\n year = '000' + year\r\n } else if (year.length === 2) {\r\n year = '00' + year\r\n } else if (year.length === 3) {\r\n year = '0' + year\r\n } else if (year.length >= 5) {\r\n const date = moment(`${month} ${day}, 2000`, 'LL', true)\r\n const utcFormat = date.utc().format()\r\n\r\n const advanced = utcFormat.split('-')\r\n advanced[0] = year\r\n\r\n const combined = advanced.join('-')\r\n utcExtended = combined\r\n }\r\n }\r\n } catch (x) {\r\n console.error(x)\r\n }\r\n\r\n const LL = `${month} ${day}, ${year}`\r\n const date = moment(LL, 'LL', true)\r\n const allValid = date.isValid()\r\n\r\n let utcFormat = null\r\n if (allValid) {\r\n utcFormat = date.utc().format()\r\n utcExtended = utcFormat\r\n }\r\n\r\n let dayString = ''\r\n\r\n try {\r\n if (day !== null) {\r\n dayString = day.toString()\r\n if (dayString.length === 1) {\r\n dayString = '0' + dayString\r\n }\r\n }\r\n } catch (x) {\r\n console.error(x)\r\n }\r\n\r\n let extendedValid = false\r\n if (utcExtended.length >= '10') {\r\n extendedValid = true\r\n }\r\n\r\n return {\r\n utcExtended,\r\n utcFormat,\r\n allValid,\r\n extendedValid,\r\n day,\r\n dayString,\r\n month,\r\n numericMonth,\r\n year\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=7e0642de&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./index.vue?vue&type=style&index=1&id=7e0642de&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7e0642de\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"aria-label\":_vm.$t('suspension.title'),\"role\":\"region\"}},[_c('ModernTable',{attrs:{\"region\":_vm.region,\"filters\":_vm.filters,\"rows\":_vm.rows,\"columns\":_vm.columns,\"pagination\":{\n perPage: 12\n },\"loading\":_vm.loading,\"headerColor\":\"#FFF\",\"condensed\":\"\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',[_c('button',{staticClass:\"button is-primary is-rounded\",style:({ float: 'left' }),on:{\"click\":function($event){$event.preventDefault();return _vm.addSuspension(_vm.selectedSuspension)}}},[_vm._v(\" Add Suspension \")])]),_c('div',{style:({ width: '100%', height: '60px' })},[_c('b-button',{class:'filter-button ' + (_vm.filters.show ? 'active' : ''),style:({ float: 'right', background: 'none', border: 0 }),attrs:{\"type\":\"is-ghost\"},on:{\"click\":function($event){_vm.filters.show = !_vm.filters.show}}},[_c('b-icon',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"pack\":\"mdi\",\"icon\":\"filter-outline\",\"size\":\"is-small\"}}),_c('div',{staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\"Filter\")])],1)],1)]},proxy:true}])}),_c('Modal',{attrs:{\"toggle\":_vm.toggle},on:{\"update:toggle\":function($event){_vm.toggle=$event}}},[_c('SuspensionModal',{attrs:{\"suspension\":_vm.selectedSuspension,\"ownerID\":_vm.ownerID}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n import { suspensionList } from '@/services/Units/Tabs/LateFeeSuspension/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\n\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await suspensionList.dispatch ('getInsuranceList', {\r\n hoaId\r\n });\r\n */\r\n async getSuspensionList({}, { hoaID, ownerID }) {\r\n console.log('in getSuspensionList...')\r\n try {\r\n const result = await kms.get('/AccountsReceivable/LateFeeSuspension/List', {\r\n params: {\r\n hoaID,\r\n ownerID\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getSuspensionList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: result.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The late fee suspension 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 deleteSuspension({ dispatch }, { lateFeeSuspensionID, done }) {\r\n try {\r\n const path = `/AccountsReceivable/LateFeeSuspension/${lateFeeSuspensionID}?forceDelete=false`\r\n\r\n const results = await kms.delete(path)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n const wasDeleted = _get(results, 'deleted', false)\r\n\r\n if (wasDeleted === true) {\r\n notifyMessage(`Successfully deleted the selected late fee suspension.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem deleting the selected late fee suspension.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem deleting the selected late fee suspension.`)\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 suspensionList = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":function($event){return _vm.loadUpdateSuspension(_vm.suspension)}}},[_vm._v(\" Edit\")]),_vm._v(\"  \"),_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":function($event){return _vm.confirmSuspensionDelete(_vm.reason, _vm.lateFeeSuspensionID)}}},[_vm._v(\" Delete \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuspensionActions.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!./SuspensionActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SuspensionActions.vue?vue&type=template&id=1f9a8268&\"\nimport script from \"./SuspensionActions.vue?vue&type=script&lang=js&\"\nexport * from \"./SuspensionActions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"suspension-modal\":\"\"}},[(_vm.formData)?_c('div',{staticClass:\"is-size-4\"},[_vm._v(_vm._s(_vm.buttonText)+\" Late Fee Suspension\")]):_vm._e(),_c('ValidationObserver',{ref:\"formGroup\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submitSuspension)}}},[_c('fieldset',[(_vm.suspension && _vm.suspension != undefined)?_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"disabled\":true,\"name\":\"AddedBy\",\"label\":\"Added By\",\"maxlength\":\"100\",\"type\":\"text\",\"vid\":\"AddedBy\",\"placeholder\":\"Added By\",\"spellcheck\":\"true\",\"aria-label\":\"Added By\",\"rules\":\"max:100|required\"},model:{value:(_vm.formData.addedBy),callback:function ($$v) {_vm.$set(_vm.formData, \"addedBy\", $$v)},expression:\"formData.addedBy\"}})],1):_vm._e(),_c('div',{staticClass:\"column is-12\"},[_c('DatePicker',{ref:\"startDateComponent\",attrs:{\"ariaLabel\":\"Start Date\",\"label\":\"Start Date\"},model:{value:(_vm.formData.startDate),callback:function ($$v) {_vm.$set(_vm.formData, \"startDate\", $$v)},expression:\"formData.startDate\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('DatePicker',{ref:\"endDateComponent\",attrs:{\"ariaLabel\":\"End Date\",\"label\":\"End Date\"},model:{value:(_vm.formData.endDate),callback:function ($$v) {_vm.$set(_vm.formData, \"endDate\", $$v)},expression:\"formData.endDate\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Reason\",\"label\":\"Reason\",\"maxlength\":\"50\",\"type\":\"text\",\"vid\":\"Reason\",\"placeholder\":\"Reason\",\"spellcheck\":\"true\",\"aria-label\":\"Reason\",\"rules\":\"max:100|required\"},model:{value:(_vm.formData.reason),callback:function ($$v) {_vm.$set(_vm.formData, \"reason\", $$v)},expression:\"formData.reason\"}})],1),_c('button',{staticClass:\"button is-primary is-rounded float-right\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" \"+_vm._s(_vm.buttonText)+\" \")])]),_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 formData: {\r\n lateFeeSuspensionID: 0,\r\n startDate: null,\r\n endDate: null,\r\n reason: '',\r\n addedBy: ''\r\n },\r\n isDebug: true,\r\n newId: null,\r\n isOpen: false,\r\n loading: true,\r\n openOnFocus: true,\r\n showWeekNumber: false,\r\n buttonText: 'Add',\r\n styles: {\r\n datePickerContainer: { display: 'flex', alignItems: 'end' },\r\n datePicker: { margin: 0, marginRight: '12px' }\r\n }\r\n }\r\n}\r\n","/*\r\n import { suspensionStore } from '@/services/Units/Tabs/LateFeeSuspension/SuspensionModal/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n // Update Suspension\r\n async updateSuspension({ dispatch }, { payload = {}, done }) {\r\n try {\r\n const results = await kms.put(`/AccountsReceivable/LateFeeSuspension`, 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.lateFeeSuspensionID > 0) {\r\n notifyMessage(`Successfully updated the selected late fee suspension.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem updating the selected late fee suspension.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem processing the update for this late fee suspension.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async addSuspension({ dispatch }, { ownerID, startDate, endDate, reason, done }) {\r\n if (isDebug == true) console.debug('...in addSuspension')\r\n try {\r\n const results = await kms.post(`/AccountsReceivable/LateFeeSuspension`, {\r\n ownerID,\r\n startDate,\r\n endDate,\r\n reason\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.lateFeeSuspensionID > 0) {\r\n notifyMessage(`Successfully added the late fee suspension.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem adding this late fee suspension.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this late fee suspension.`)\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 suspensionStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import { suspensionStore } from '@/services/Units/Tabs/LateFeeSuspension/SuspensionModal/store'\r\nimport $ from 'jquery'\r\nimport { notifyError } from '@/services/notify'\r\nimport _get from 'lodash/get'\r\nimport moment from 'moment'\r\n\r\nexport const methods = {\r\n async reload() {\r\n this.loading = true\r\n\r\n if (this.suspension && this.suspension != undefined) {\r\n //Update\r\n this.buttonText = 'Update'\r\n this.formData.lateFeeSuspensionID = this.suspension.lateFeeSuspensionID\r\n this.formData.ownerID = this.suspension.ownerID\r\n this.formData.startDate = this.suspension.startDate\r\n this.formData.endDate = this.suspension.endDate\r\n this.formData.reason = this.suspension.reason\r\n this.formData.addedBy =\r\n this.suspension.createdByIdentityInformation &&\r\n this.suspension.createdByIdentityInformation != undefined\r\n ? this.suspension.createdByIdentityInformation.name\r\n : null\r\n\r\n var startDate = this.suspension.startDate\r\n if (startDate) {\r\n this.$refs.startDateComponent.selected = new Date(this.suspension.startDate)\r\n }\r\n\r\n var endDate = this.suspension.endDate\r\n if (endDate) {\r\n this.$refs.endDateComponent.selected = new Date(this.suspension.endDate)\r\n }\r\n\r\n this.loading = false\r\n } else {\r\n this.buttonText = 'Add'\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n open() {\r\n this.formData = {\r\n ownerID: 0,\r\n startDate: null,\r\n endDate: null,\r\n reason: ''\r\n }\r\n this.isOpen = true\r\n this.loading = false\r\n },\r\n\r\n async submitSuspension() {\r\n if (this.formData && !this.formData.startDate) {\r\n notifyError('Please select a start date. The start date is a required field.')\r\n return\r\n }\r\n\r\n if (this.formData && !this.formData.endDate) {\r\n notifyError('Please select a end date. The end date is a required field.')\r\n return\r\n }\r\n\r\n if (this.formData && this.formData != undefined) {\r\n if (this.formData.lateFeeSuspensionID && this.formData.lateFeeSuspensionID > 0) {\r\n await this.updateSuspension()\r\n } else {\r\n await this.addSuspension()\r\n }\r\n }\r\n },\r\n\r\n async addSuspension() {\r\n if (!this.formData || this.formData == undefined) {\r\n notifyError('There was a problem processing this late fee submission.')\r\n return\r\n }\r\n\r\n let dateMessage = ''\r\n if (!this.formData.startDate) {\r\n dateMessage = 'Please enter a valid start date.'\r\n }\r\n\r\n if (!this.formData.endDate) {\r\n dateMessage = dateMessage + 'Please enter a valid end date.'\r\n }\r\n\r\n if (!moment(this.formData.startDate, true).isValid()) {\r\n dateMessage = dateMessage + 'The start date is not valid'\r\n }\r\n\r\n if (!moment(this.formData.endDate).isValid()) {\r\n dateMessage = dateMessage + 'The end date is not valid'\r\n }\r\n\r\n if (moment(this.formData.endDate) < moment(this.formData.startDate)) {\r\n dateMessage = dateMessage + 'The end date must be greater than the start date.'\r\n }\r\n\r\n if (dateMessage !== '') {\r\n notifyError(dateMessage)\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n if (this.isDebug == true) console.debug('addInsurance params=' + JSON.stringify(this.formData))\r\n\r\n await suspensionStore.dispatch('addSuspension', {\r\n ownerID: this.ownerID,\r\n reason: _get(this.formData, 'reason', ''),\r\n startDate: this.formData.startDate\r\n ? moment(this.formData.startDate).format('YYYY-MM-DD')\r\n : null,\r\n endDate: this.formData.endDate ? moment(this.formData.endDate).format('YYYY-MM-DD') : null,\r\n done: ({ details }) => {\r\n this.loading = false\r\n if (details && details != undefined) {\r\n if (this.isDebug == true)\r\n console.debug(\r\n 'details details.lateFeeSuspensionID=' +\r\n JSON.stringify(details) +\r\n ', lateFeeSuspensionID=' +\r\n details.lateFeeSuspensionID\r\n )\r\n\r\n this.leaveForm()\r\n }\r\n }\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n async updateSuspension() {\r\n if (\r\n !this.formData ||\r\n this.formData == undefined ||\r\n !this.formData.lateFeeSuspensionID ||\r\n this.formData.lateFeeSuspensionID == undefined\r\n ) {\r\n notifyError('There was a problem updating the selected late fee suspension.')\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n const payload = {\r\n lateFeeSuspensionID: _get(this.formData, 'lateFeeSuspensionID', 0),\r\n ownerID: _get(this.formData, 'ownerID', 0),\r\n reason: _get(this.formData, 'reason', ''),\r\n startDate: this.formData.startDate\r\n ? moment(this.formData.startDate).format('YYYY-MM-DD')\r\n : null,\r\n endDate: this.formData.endDate ? moment(this.formData.endDate).format('YYYY-MM-DD') : null\r\n }\r\n\r\n await suspensionStore.dispatch('updateSuspension', {\r\n payload: payload,\r\n done: ({ details }) => {\r\n this.loading = false\r\n if (details) {\r\n this.leaveForm()\r\n }\r\n }\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n leaveForm() {\r\n // auto-close modal\r\n this.$emit('update:toggle', (this.toggle = false))\r\n $('#clickclose').click()\r\n this.loading = false\r\n }\r\n}\r\n","\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=c0ed1f46&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./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=16939cb4&\"\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"],"sourceRoot":""}