{"version":3,"sources":["webpack:///./src/_shared/tables/editable-layout.vue?8dc5","webpack:///./src/_features/modules/services/table.vue?8894","webpack:///./src/_shared/tables/editable-layout.vue?11e3","webpack:///./src/_shared/tables/editable-layout.vue?1fbb","webpack:///./src/_shared/tables/editable-layout.vue?9ff8","webpack:///./src/_shared/tables/editable-layout.vue","webpack:///./src/_features/modules/services/table.vue?4f27","webpack:///./src/_features/modules/services/table.vue?733b","webpack:///./src/_features/modules/services/table.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","column","index","key","attrs","_v","_s","domProps","staticRenderFns","header","field","label","id","staticStyle","keyValue","columnKey","type","directives","name","rawName","value","expression","selected","class","errors","has","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","map","val","_value","$set","multiple","opt","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","model","callback","readOnly","_q","composing","_e","actions","action","title","renderHtml","format","_m","components","DatePicker","component","onSelectEdit","onUpdate","validate","onSelectDelete","onCancel","$validator","items","Object","assign","length","$route","query","t","projectID","payload","updateColumns","fetchData","noteID","params","deleteColumns","console","error","fetchColumns","$router","currentRoute","fetchingInterval","setInterval","clearInterval","EditableTable"],"mappings":"2IAAA,yBAA6f,EAAG,G,yCCAhgB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,cAAcN,EAAIO,GAAIP,EAAW,SAAE,SAASQ,EAAOC,GAAO,OAAOL,EAAG,IAAI,CAACM,IAAID,EAAMH,YAAY,uEAAuEK,MAAM,CAAC,KAAO,MAAM,CAACP,EAAG,MAAM,CAACE,YAAY,wCAAwC,CAACF,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACN,EAAIY,GAAGZ,EAAIa,GAAGL,EAAO,eAAeJ,EAAG,QAAQ,CAACJ,EAAIY,GAAGZ,EAAIa,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,KAAKwF,cAAcD,G,QACzBvF,KAAKyF,YACLzF,KAAK6E,W,mDAlFT,qCAqF+BtE,G,8KAWzB,O,WAPSP,KAAKmF,OADZC,MAASC,E,EAAAA,EAAGC,E,EAAAA,UAENI,EAAWnF,EAAXmF,OACFC,EAA+B,CACnCD,SACAL,IACAC,a,SAEItF,KAAK4F,cAAcD,G,OACzB,O,SAAM3F,KAAKyF,Y,4DAEXI,QAAQC,MAAR,M,4DAnGN,iCAwGI9F,KAAK4B,SAAW,OAxGpB,mCA2GuBrB,GACnBP,KAAK4B,SAAWrB,IA5GpB,kCA+GmB,MAGNP,KAAKmF,OADZC,MAASC,EAFI,EAEJA,EAAGC,EAFC,EAEDA,UAERK,EAAyB,CAC7BN,IACAC,aAEF,OAAOtF,KAAK+F,aAAaJ,KAvH7B,gCA0HiB,WACb,eAAgB3F,MACuB,mBAAnCA,KAAKgG,QAAQC,aAAazE,OAC5BxB,KAAKyF,YACLzF,KAAKkG,iBAAmBC,aAAY,kBAAY,EAAKV,cAAa,QA9HxE,sCAmIIW,cAAcpG,KAAKkG,sBAnIvB,GAAmC,QACR,gBAAxB,eAAO,kB,mCAGiB,gBAAxB,eAAO,kB,oCAGiB,gBAAxB,eAAO,kB,oCAGe,gBAAtB,eAAO,gB,8BAVW,EAAK,gBALzB,eAAU,CACT5B,WAAY,CACV+B,cAAA,MAGiB,WCpB+Y,ICOha,EAAY,eACd,EACAvG,EACAgB,GACA,EACA,KACA,WACA,MAIa,e","file":"js/chunk-142480c4.9e3f34b7.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./editable-layout.vue?vue&type=style&index=0&id=8c75c3f0&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./editable-layout.vue?vue&type=style&index=0&id=8c75c3f0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"list-group\"},_vm._l((_vm.columns),function(column,index){return _c('a',{key:index,staticClass:\"list-group-item list-group-item-action flex-column align-items-start\",attrs:{\"href\":\"#\"}},[_c('div',{staticClass:\"d-flex w-100 justify-content-between\"},[_c('h5',{staticClass:\"mb-1\"},[_vm._v(_vm._s(column[\"summary\"]))]),_c('small',[_vm._v(_vm._s(column[\"createdDate\"]))])]),_c('p',{staticClass:\"mb-1\",domProps:{\"innerHTML\":_vm._s(column['notes'])}})])}),0)])}\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:\"container\"},[_c('div',{staticClass:\"list-group\"},[_c('a',{staticClass:\"list-group-item list-group-item-action flex-column align-items-start\",attrs:{\"href\":\"#\"}},[_c('div',{staticClass:\"d-flex w-100 justify-content-between\"},[_c('h5',{staticClass:\"mb-1\"},[_vm._v(\"List group item heading\")]),_vm._l((_vm.headers),function(header){return _c('h5',{key:header.field,staticClass:\"mb-1\"},[_vm._v(_vm._s(header.label))])}),_c('small',[_vm._v(\"3 days ago\")])],2),_c('p',{staticClass:\"mb-1\"},[_vm._v(\"Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.\")]),_vm._l((_vm.columns),function(column,index){return _c('div',{key:index,staticClass:\"c-table__row\"},_vm._l((_vm.headers),function(header){return _c('p',{key:header.id,staticClass:\"c-table__cell\",staticStyle:{\"word-wrap\":\"break-word\",\"min-width\":\"160px\",\"max-width\":\"160px\"}},[(_vm.keyValue === column[_vm.columnKey])?_c('span',[(header.field && header.type === 'select')?_c('select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input custom-select\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.selected, header.field, $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((header.options),function(opt){return _c('option',{key:opt.value,domProps:{\"value\":opt.value}},[_vm._v(_vm._s(opt.label))])}),0):(header.field && header.type === 'checkbox')?_c('div',{staticClass:\"c-choice c-choice--checkbox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-choice__input\",attrs:{\"id\":header.field,\"name\":header.field,\"type\":\"checkbox\"},domProps:{\"checked\":_vm.selected[header.field],\"checked\":Array.isArray(_vm.selected[header.field])?_vm._i(_vm.selected[header.field],null)>-1:(_vm.selected[header.field])},on:{\"change\":function($event){var $$a=_vm.selected[header.field],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.selected, header.field, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.selected, header.field, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.selected, header.field, $$c)}}}}),_c('label',{staticClass:\"c-choice__label\",attrs:{\"for\":header.field}})]):(header.field && header.type === 'date')?_c('date-picker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"}],class:{'custom-has-error': _vm.errors.has(header.field)},staticStyle:{\"width\":\"100%\"},attrs:{\"name\":header.field,\"format\":\"YYYY-MM-DD\",\"valuetype\":\"format\",\"lang\":\"en\",\"placeholder\":\"\"},model:{value:(_vm.selected[header.field]),callback:function ($$v) {_vm.$set(_vm.selected, header.field, $$v)},expression:\"selected[header.field]\"}}):(header.field && header.type === 'time')?_c('date-picker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"}],class:{'custom-has-error': _vm.errors.has(header.field)},staticStyle:{\"width\":\"100%\"},attrs:{\"name\":header.field,\"value-type\":\"date\",\"type\":\"time\",\"format\":\"hh:mm A\",\"placeholder\":\"\"},model:{value:(_vm.selected[header.field]),callback:function ($$v) {_vm.$set(_vm.selected, header.field, $$v)},expression:\"selected[header.field]\"}}):(header.field)?((header.type)==='checkbox')?_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field,\"readonly\":header.readOnly,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.selected[header.field])?_vm._i(_vm.selected[header.field],null)>-1:(_vm.selected[header.field])},on:{\"change\":function($event){var $$a=_vm.selected[header.field],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.selected, header.field, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.selected, header.field, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.selected, header.field, $$c)}}}}):((header.type)==='radio')?_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field,\"readonly\":header.readOnly,\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.selected[header.field],null)},on:{\"change\":function($event){return _vm.$set(_vm.selected, header.field, null)}}}):_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field,\"readonly\":header.readOnly,\"type\":header.type},domProps:{\"value\":(_vm.selected[header.field])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.selected, header.field, $event.target.value)}}}):_vm._e(),(header.actions)?_c('a',{on:{\"click\":function($event){return header.actions[1].action(_vm.selected)}}},[_vm._v(_vm._s(header.actions[1].title))]):_vm._e()],1):_c('span',[(header.renderHtml)?_c('div',{domProps:{\"innerHTML\":_vm._s(header.renderHtml(column[header.field]))}}):(header.field)?_c('span',[_vm._v(_vm._s(header.format ? header.format(column[header.field]) : column[header.field]))]):_vm._e(),(header.actions && header.actions[0].renderHtml)?_c('div',{domProps:{\"innerHTML\":_vm._s(header.actions[0].renderHtml())},on:{\"click\":function($event){return header.actions[0].action(column)}}}):(header.actions)?_c('a',{on:{\"click\":function($event){return header.actions[0].action(column)}}},[_vm._v(_vm._s(header.actions[0].title))]):_vm._e()])])}),0)}),_c('small',[_vm._v(\"Donec id elit non mi porta.\")])],2),_vm._m(0)]),_c('table',{staticClass:\"c-table\",staticStyle:{\"border\":\"1px solid #000\",\"width\":\"650px\"}},[_c('thead',{staticClass:\"c-table__head c-table__head--slim\"},[_c('tr',{staticClass:\"c-table__row\"},_vm._l((_vm.headers),function(header){return _c('th',{key:header.field,staticClass:\"c-table__cell c-table__cell--head\"},[_vm._v(_vm._s(header.label))])}),0)]),_c('tbody',_vm._l((_vm.columns),function(column,index){return _c('tr',{key:index,staticClass:\"c-table__row\"},_vm._l((_vm.headers),function(header){return _c('td',{key:header.id,staticClass:\"c-table__cell\",staticStyle:{\"word-wrap\":\"break-word\",\"min-width\":\"160px\",\"max-width\":\"160px\"}},[(_vm.keyValue === column[_vm.columnKey])?_c('span',[(header.field && header.type === 'select')?_c('select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input custom-select\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.selected, header.field, $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((header.options),function(opt){return _c('option',{key:opt.value,domProps:{\"value\":opt.value}},[_vm._v(_vm._s(opt.label))])}),0):(header.field && header.type === 'checkbox')?_c('div',{staticClass:\"c-choice c-choice--checkbox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-choice__input\",attrs:{\"id\":header.field,\"name\":header.field,\"type\":\"checkbox\"},domProps:{\"checked\":_vm.selected[header.field],\"checked\":Array.isArray(_vm.selected[header.field])?_vm._i(_vm.selected[header.field],null)>-1:(_vm.selected[header.field])},on:{\"change\":function($event){var $$a=_vm.selected[header.field],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.selected, header.field, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.selected, header.field, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.selected, header.field, $$c)}}}}),_c('label',{staticClass:\"c-choice__label\",attrs:{\"for\":header.field}})]):(header.field && header.type === 'date')?_c('date-picker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"}],class:{'custom-has-error': _vm.errors.has(header.field)},staticStyle:{\"width\":\"100%\"},attrs:{\"name\":header.field,\"format\":\"YYYY-MM-DD\",\"valuetype\":\"format\",\"lang\":\"en\",\"placeholder\":\"\"},model:{value:(_vm.selected[header.field]),callback:function ($$v) {_vm.$set(_vm.selected, header.field, $$v)},expression:\"selected[header.field]\"}}):(header.field && header.type === 'time')?_c('date-picker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"}],class:{'custom-has-error': _vm.errors.has(header.field)},staticStyle:{\"width\":\"100%\"},attrs:{\"name\":header.field,\"value-type\":\"date\",\"type\":\"time\",\"format\":\"hh:mm A\",\"placeholder\":\"\"},model:{value:(_vm.selected[header.field]),callback:function ($$v) {_vm.$set(_vm.selected, header.field, $$v)},expression:\"selected[header.field]\"}}):(header.field)?((header.type)==='checkbox')?_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field,\"readonly\":header.readOnly,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.selected[header.field])?_vm._i(_vm.selected[header.field],null)>-1:(_vm.selected[header.field])},on:{\"change\":function($event){var $$a=_vm.selected[header.field],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.selected, header.field, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.selected, header.field, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.selected, header.field, $$c)}}}}):((header.type)==='radio')?_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field,\"readonly\":header.readOnly,\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.selected[header.field],null)},on:{\"change\":function($event){return _vm.$set(_vm.selected, header.field, null)}}}):_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(header.validate),expression:\"header.validate\"},{name:\"model\",rawName:\"v-model\",value:(_vm.selected[header.field]),expression:\"selected[header.field]\"}],staticClass:\"c-input\",class:{'custom-has-error': _vm.errors.has(header.field)},attrs:{\"name\":header.field,\"readonly\":header.readOnly,\"type\":header.type},domProps:{\"value\":(_vm.selected[header.field])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.selected, header.field, $event.target.value)}}}):_vm._e(),(header.actions)?_c('a',{on:{\"click\":function($event){return header.actions[1].action(_vm.selected)}}},[_vm._v(_vm._s(header.actions[1].title))]):_vm._e()],1):_c('span',[(header.renderHtml)?_c('div',{domProps:{\"innerHTML\":_vm._s(header.renderHtml(column[header.field]))}}):(header.field)?_c('span',[_vm._v(_vm._s(header.format ? header.format(column[header.field]) : column[header.field]))]):_vm._e(),(header.actions && header.actions[0].renderHtml)?_c('div',{domProps:{\"innerHTML\":_vm._s(header.actions[0].renderHtml())},on:{\"click\":function($event){return header.actions[0].action(column)}}}):(header.actions)?_c('a',{on:{\"click\":function($event){return header.actions[0].action(column)}}},[_vm._v(_vm._s(header.actions[0].title))]):_vm._e()])])}),0)}),0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"list-group-item list-group-item-action flex-column align-items-start\",attrs:{\"href\":\"#\"}},[_c('div',{staticClass:\"d-flex w-100 justify-content-between\"},[_c('h5',{staticClass:\"mb-1\"},[_vm._v(\"List group item heading\")]),_c('small',[_vm._v(\"3 days ago\")])]),_c('p',{staticClass:\"mb-1\"},[_vm._v(\"Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.\")]),_c('small',[_vm._v(\"Donec id elit non mi porta.\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport DatePicker from \"vue2-datepicker\";\r\n\r\nexport interface Action {\r\n title: string;\r\n action?: (e: any) => void;\r\n}\r\n\r\nexport interface Option {\r\n value: any;\r\n label?: string;\r\n}\r\n\r\nexport interface TableHeader {\r\n label?: string;\r\n field?: string;\r\n type?: string;\r\n options?: Option[];\r\n renderHtml?: (value: any) => string;\r\n format?: (value: any) => string;\r\n validate?: string;\r\n title?: string;\r\n actions?: Action[];\r\n readOnly?: boolean;\r\n}\r\n\r\n@Component({\r\n components: {\r\n DatePicker\r\n }\r\n})\r\nexport default class EditableTable extends Vue {\r\n @Prop() private columnKey!: string;\r\n @Prop() private headers!: TableHeader[];\r\n @Prop() private columns!: any;\r\n @Prop() private selected!: any;\r\n\r\n get keyValue() {\r\n if (this.selected) {\r\n const keyValue = this.selected[this.columnKey];\r\n return keyValue;\r\n }\r\n return null;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./editable-layout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./editable-layout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./editable-layout.vue?vue&type=template&id=8c75c3f0&scoped=true&\"\nimport script from \"./editable-layout.vue?vue&type=script&lang=ts&\"\nexport * from \"./editable-layout.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./editable-layout.vue?vue&type=style&index=0&id=8c75c3f0&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8c75c3f0\",\n null\n \n)\n\nexport default component.exports","\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { Action, Getter } from \"vuex-class\";\r\n\r\nimport EditableTable, {\r\n TableHeader\r\n} from \"@/_shared/tables/editable-layout.vue\";\r\nimport { dispatchHideNav } from \"@/_shared/actions\";\r\nimport {\r\n Services,\r\n ServicesParams,\r\n ServicesPayload,\r\n ServicesDeleteParams\r\n} from \"../../../store/modules/services\";\r\n\r\n@Component({\r\n components: {\r\n EditableTable\r\n }\r\n})\r\nexport default class Table extends Vue {\r\n @Action(\"fetchServices\") private fetchColumns!: (\r\n params: ServicesParams\r\n ) => void;\r\n @Action(\"updateService\") private updateColumns!: (\r\n payload: ServicesPayload\r\n ) => void;\r\n @Action(\"deleteServics\") private deleteColumns!: (\r\n params: ServicesDeleteParams\r\n ) => void;\r\n @Getter(\"getServices\") private columns!: Services[];\r\n\r\n private columnKey: string = \"noteID\";\r\n private header: TableHeader[] = [\r\n {\r\n actions: [\r\n {\r\n title: \"Edit\",\r\n action: this.onSelectEdit\r\n },\r\n {\r\n title: \"Save\",\r\n action: this.onUpdate\r\n }\r\n ]\r\n },\r\n {\r\n label: \"Summary\",\r\n field: \"summary\",\r\n type: \"text\",\r\n validate: \"required\"\r\n },\r\n {\r\n label: \"Create Date\",\r\n field: \"createdDate\"\r\n },\r\n {\r\n label: \"Notes\",\r\n field: \"notes\",\r\n type: \"text\",\r\n validate: \"required\",\r\n renderHtml: (value: string) => {\r\n if (!value) {\r\n return \"\";\r\n }\r\n return `${value}`;\r\n }\r\n },\r\n {\r\n actions: [\r\n {\r\n title: \"Delete\",\r\n action: this.onSelectDelete\r\n },\r\n {\r\n title: \"Cancel\",\r\n action: this.onCancel\r\n }\r\n ]\r\n }\r\n ];\r\n\r\n private fetchingInterval!: number;\r\n private selected: Services | null = null;\r\n\r\n private async onUpdate(column: Services) {\r\n const {\r\n errors: { items }\r\n } = await this.$validator;\r\n if (Object.assign(items).length) {\r\n return false;\r\n }\r\n const {\r\n query: { t, projectID }\r\n }: any = this.$route;\r\n const payload: ServicesPayload = {\r\n ...column,\r\n t,\r\n projectID\r\n };\r\n await this.updateColumns(payload);\r\n this.fetchData();\r\n this.onCancel();\r\n }\r\n\r\n private async onSelectDelete(column: Services) {\r\n try {\r\n const {\r\n query: { t, projectID }\r\n }: any = this.$route;\r\n const { noteID } = column;\r\n const params: ServicesDeleteParams = {\r\n noteID,\r\n t,\r\n projectID\r\n };\r\n await this.deleteColumns(params);\r\n await this.fetchData();\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n }\r\n\r\n private onCancel() {\r\n this.selected = null;\r\n }\r\n\r\n private onSelectEdit(column: Services) {\r\n this.selected = column;\r\n }\r\n\r\n private fetchData() {\r\n const {\r\n query: { t, projectID }\r\n }: any = this.$route;\r\n const params: ServicesParams = {\r\n t,\r\n projectID\r\n };\r\n return this.fetchColumns(params);\r\n }\r\n\r\n private created() {\r\n dispatchHideNav(this);\r\n if (this.$router.currentRoute.name === \"services_table\") {\r\n this.fetchData();\r\n this.fetchingInterval = setInterval((): void => this.fetchData(), 3000);\r\n }\r\n }\r\n\r\n private beforeDestroy() {\r\n clearInterval(this.fetchingInterval);\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./table.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./table.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./table.vue?vue&type=template&id=9b3a30fe&scoped=true&\"\nimport script from \"./table.vue?vue&type=script&lang=ts&\"\nexport * from \"./table.vue?vue&type=script&lang=ts&\"\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 \"9b3a30fe\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}